mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-13 11:29:01 +08:00
FIX: raise warning dialog when show on mac
Change-Id: I5c6eaf88eed9430c053d38f747eee3289e08927b
This commit is contained in:
parent
81e2200efb
commit
7a5cd8ddd7
@ -479,7 +479,7 @@ void SecondaryCheckDialog::on_show()
|
||||
m_button_cancel->GetEventHandler()->ProcessEvent(evt_cancel);
|
||||
|
||||
this->Show();
|
||||
this->SetFocus();
|
||||
this->Raise();
|
||||
}
|
||||
|
||||
void SecondaryCheckDialog::on_hide()
|
||||
@ -488,6 +488,10 @@ void SecondaryCheckDialog::on_hide()
|
||||
wxGetApp().app_config->set(show_again_config_text, "1");
|
||||
|
||||
this->Hide();
|
||||
if (wxGetApp().mainframe != nullptr) {
|
||||
wxGetApp().mainframe->Show();
|
||||
wxGetApp().mainframe->Raise();
|
||||
}
|
||||
}
|
||||
|
||||
void SecondaryCheckDialog::update_btn_label(wxString ok_btn_text, wxString cancel_btn_text)
|
||||
|
Loading…
x
Reference in New Issue
Block a user