This commit is contained in:
bubnikv 2019-05-20 15:00:39 +02:00
commit 8eb31e6d8d

View File

@ -2292,6 +2292,9 @@ void GLCanvas3D::on_size(wxSizeEvent& evt)
void GLCanvas3D::on_idle(wxIdleEvent& evt) void GLCanvas3D::on_idle(wxIdleEvent& evt)
{ {
if (!m_initialized)
return;
m_dirty |= m_toolbar.update_items_state(); m_dirty |= m_toolbar.update_items_state();
m_dirty |= m_view_toolbar.update_items_state(); m_dirty |= m_view_toolbar.update_items_state();