FIX: Crash in Field cache when switch to dual extruder printer
Change-Id: Ida4b5a89642f65863b4b2c774fc74f72da883df6 Jira: none
This commit is contained in:
parent
ac7d7726d6
commit
b2a58802ff
|
@ -5274,10 +5274,10 @@ bool Tab::update_current_page_in_background(int& item)
|
||||||
|
|
||||||
// clear pages from the controlls
|
// clear pages from the controlls
|
||||||
// BBS: fix after new layout, clear page in backgroud
|
// BBS: fix after new layout, clear page in backgroud
|
||||||
if (m_parent->is_active_and_shown_tab((wxPanel*)this))
|
|
||||||
m_parent->clear_page();
|
|
||||||
for (auto p : m_pages)
|
for (auto p : m_pages)
|
||||||
p->clear();
|
p->clear();
|
||||||
|
if (m_parent->is_active_and_shown_tab((wxPanel*)this))
|
||||||
|
m_parent->clear_page();
|
||||||
|
|
||||||
update_undo_buttons();
|
update_undo_buttons();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue