logic: Fixed history menu to show global activation history chronologically

This commit is contained in:
Eberhard Graether
2018-10-19 22:18:17 +02:00
parent 684699ace9
commit c50ff53b32
3 changed files with 84 additions and 74 deletions
+3 -1
View File
@@ -769,7 +769,9 @@ void QtMainWindow::openHistoryAction()
QAction* action = qobject_cast<QAction*>(sender());
if (action)
{
m_history[action->data().toInt()]->dispatch();
std::shared_ptr<MessageBase> m = m_history[action->data().toInt()];
m->setIsReplayed(false);
m->dispatch();
}
}