mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Deleted use of TaskTimer in OnInit
+ code cleaning in MainFrame
This commit is contained in:
parent
97e3100c73
commit
8459d77959
3 changed files with 1 additions and 8 deletions
|
@ -3471,10 +3471,8 @@ bool Tab::tree_sel_change_delayed()
|
|||
//for (auto& el : m_pages)
|
||||
// el.get()->Hide();
|
||||
|
||||
if (wxGetApp().mainframe->is_active_and_shown_tab(this)) {
|
||||
if (wxGetApp().mainframe!=nullptr && wxGetApp().mainframe->is_active_and_shown_tab(this))
|
||||
activate_selected_page(throw_if_canceled);
|
||||
// m_active_page->Show();
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
no_updates.reset(nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue