1. Fixed crash on OSX after change of the settings layout (PreferencesDialog should be destroyed before call of recreate_GUI)
2. Fixed dialog message during GUI recreation
3. In PreferencesDialog changed radio buttons view (under OSX they were bold)
4. slDlg mode - fixed switching between main frame and settings dialog (dialog->SetFocus() doesn't work under OSX, so we just hide it and show again)
This commit is contained in:
YuSanka 2020-05-07 15:36:50 +02:00
parent 8969613a5a
commit 3c996111aa
6 changed files with 33 additions and 24 deletions

View file

@ -1267,9 +1267,8 @@ void MainFrame::select_tab(size_t tab/* = size_t(-1)*/)
}
// Show/Activate Settings Dialog
if (m_settings_dialog->IsShown())
m_settings_dialog->SetFocus();
else
m_settings_dialog->Show();
m_settings_dialog->Hide();
m_settings_dialog->Show();
}
else if (m_layout == slNew) {
m_plater->Show(tab == 0);