Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2018-06-06 15:33:04 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-06-06 15:33:04 +0300
commit66b4620d9b79293c0e3a29df36b02735be93e977 (patch)
treec012f661798d2c96a3290fd5ab6b4d15736fa191 /xs
parent8192580b5f2db16e8b45de70deccc9dd86d3763a (diff)
Fixed runtime error on Linux when removing canvases
Diffstat (limited to 'xs')
-rw-r--r--xs/src/slic3r/GUI/GLCanvas3D.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GLCanvas3D.cpp b/xs/src/slic3r/GUI/GLCanvas3D.cpp
index 41741eef8..bb5db8614 100644
--- a/xs/src/slic3r/GUI/GLCanvas3D.cpp
+++ b/xs/src/slic3r/GUI/GLCanvas3D.cpp
@@ -1871,7 +1871,6 @@ void GLCanvas3D::unbind_event_handlers()
{
if (m_canvas != nullptr)
{
- m_canvas->GetEventHandler()->ProcessPendingEvents();
m_canvas->Unbind(wxEVT_SIZE, &GLCanvas3D::on_size, this);
m_canvas->Unbind(wxEVT_IDLE, &GLCanvas3D::on_idle, this);
m_canvas->Unbind(wxEVT_CHAR, &GLCanvas3D::on_char, this);