ui: force refresh option in menu for reloading whole project

This commit is contained in:
Eberhard Graether
2015-09-23 16:44:39 +02:00
parent 502909c789
commit bb3a8bf351
11 changed files with 62 additions and 22 deletions
@@ -123,7 +123,7 @@ void FeatureController::handleMessage(MessageSwitchColorScheme* message)
settings->setColorSchemePath(message->colorSchemeFilePath);
settings->save();
MessageRefresh(true).dispatch();
MessageRefresh().refreshUiOnly().dispatch();
}
void FeatureController::handleMessage(MessageZoom* message)
@@ -132,5 +132,5 @@ void FeatureController::handleMessage(MessageZoom* message)
settings->setFontSize(std::max(settings->getFontSize() + (message->zoomIn ? 1 : -1), 5));
settings->save();
MessageRefresh(true).dispatch();
MessageRefresh().refreshUiOnly().dispatch();
}