One more fix to updates of the "Slice now" and "Export G-code buttons"

- "Sliced now" button is hidden when "Background process" is selected
- deleted extra enable_buttons() function call
This commit is contained in:
YuSanka 2018-12-04 12:30:47 +01:00
parent 96e14b5d3b
commit 129c35b714
3 changed files with 3 additions and 5 deletions

View file

@ -263,7 +263,6 @@ void ObjectList::selection_changed()
event.SetEventObject(this);
wxPostEvent(this, event);
}
wxGetApp().sidebar().enable_buttons(!m_objects_model->IsEmpty());
part_selection_changed();