logic: Split MessageRefresh into index and UI

This commit is contained in:
Eberhard Graether
2018-10-28 12:11:53 +01:00
parent 27627b6d05
commit e2dd26ee5a
15 changed files with 116 additions and 108 deletions
+2 -1
View File
@@ -43,6 +43,7 @@
#include "MessageInterruptTasks.h"
#include "MessageLoadProject.h"
#include "MessageRefresh.h"
#include "MessageRefreshUI.h"
#include "MessageResetZoom.h"
#include "MessageWindowClosed.h"
#include "MessageZoom.h"
@@ -412,7 +413,7 @@ void QtMainWindow::keyPressEvent(QKeyEvent* event)
case Qt::Key_R:
if (event->modifiers() & (Qt::ControlModifier | Qt::AltModifier))
{
MessageRefresh().refreshUiOnly().dispatch();
MessageRefreshUI().dispatch();
}
break;