PANEL_COMMON_SETTINGS: minor fixes, mainly cosmetic.

This commit is contained in:
jean-pierre charras
2018-11-22 17:11:49 +01:00
parent 82f657ed03
commit d03e82602e
7 changed files with 48 additions and 35 deletions
+9
View File
@@ -180,3 +180,12 @@ void PANEL_COMMON_SETTINGS::OnPDFViewerClick( wxCommandEvent& event )
m_otherPDFViewer->SetValue( true );
m_PDFViewerPath->SetValue( dlg.GetPath() );
}
void PANEL_COMMON_SETTINGS::onUpdateUIPdfPath( wxUpdateUIEvent& event )
{
bool enabled = m_otherPDFViewer->GetValue();
m_PDFViewerPath->Enable( enabled );
m_pdfViewerBtn->Enable( enabled );
}