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

refresh surface_render UI on map removal

parent 3eeb00bd
......@@ -164,6 +164,9 @@ void Surface_Render_Plugin::mapRemoved(MapHandlerGen *map)
disconnect(map, SIGNAL(vboAdded(Utils::VBO*)), this, SLOT(vboAdded(Utils::VBO*)));
disconnect(map, SIGNAL(vboRemoved(Utils::VBO*)), this, SLOT(vboRemoved(Utils::VBO*)));
if(map == m_schnapps->getSelectedMap())
Supports Markdown
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