Commit 061cc307 authored by Pierre Kraemer's avatar Pierre Kraemer

refresh surface_render UI on map removal

parent 3eeb00bd
...@@ -164,6 +164,9 @@ void Surface_Render_Plugin::mapRemoved(MapHandlerGen *map) ...@@ -164,6 +164,9 @@ void Surface_Render_Plugin::mapRemoved(MapHandlerGen *map)
DEBUG_SLOT(); DEBUG_SLOT();
disconnect(map, SIGNAL(vboAdded(Utils::VBO*)), this, SLOT(vboAdded(Utils::VBO*))); disconnect(map, SIGNAL(vboAdded(Utils::VBO*)), this, SLOT(vboAdded(Utils::VBO*)));
disconnect(map, SIGNAL(vboRemoved(Utils::VBO*)), this, SLOT(vboRemoved(Utils::VBO*))); disconnect(map, SIGNAL(vboRemoved(Utils::VBO*)), this, SLOT(vboRemoved(Utils::VBO*)));
if(map == m_schnapps->getSelectedMap())
m_dockTab->updateMapParameters();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment