Deleted use of TaskTimer in OnInit

+ code cleaning in MainFrame
This commit is contained in:
YuSanka 2020-10-02 12:11:10 +02:00
parent 97e3100c73
commit 8459d77959
3 changed files with 1 additions and 8 deletions

View file

@ -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);