Defer minimap update when shape changed
authorest31 <MTest31@outlook.com>
Tue, 30 Jun 2015 19:14:28 +0000 (21:14 +0200)
committerest31 <MTest31@outlook.com>
Tue, 30 Jun 2015 19:14:28 +0000 (21:14 +0200)
src/minimap.cpp

index 8fe8b466d40a4cd985372d45d7717688b29618c1..b26f8c665dd07e78a30643cb7b1374059f984a8d 100644 (file)
@@ -273,6 +273,7 @@ void Mapper::toggleMinimapShape()
 {
        data->minimap_shape_round = !data->minimap_shape_round;
        g_settings->setBool(("minimap_shape_round"), data->minimap_shape_round);
+       m_minimap_update_thread->deferUpdate();
 }
 
 void Mapper::setMinimapMode(MinimapMode mode)