Fix of the SLA situation where an object was sliced even after being

moved out of the print bed.

Added an event.Skip() when processing OnActivate event.
This commit is contained in:
bubnikv
2019-02-20 12:21:22 +01:00
parent 3c5272d67f
commit 8cb13624f5
2 changed files with 16 additions and 11 deletions

View File

@@ -108,6 +108,7 @@ wxFrame(NULL, wxID_ANY, SLIC3R_BUILD, wxDefaultPosition, wxDefaultSize, wxDEFAUL
Bind(wxEVT_ACTIVATE, [this](wxActivateEvent& event) {
if (m_plater != nullptr && event.GetActive())
m_plater->on_activate();
event.Skip();
});
wxGetApp().persist_window_geometry(this);