logic: Show hidden indexing dialog on refresh

* Fixed refresh restarted when refreshing while processing files
This commit is contained in:
Eberhard Graether
2018-10-17 01:30:33 +02:00
parent d78e80b548
commit 842bce8b32
12 changed files with 64 additions and 40 deletions
+3
View File
@@ -39,6 +39,7 @@
#include "MessageDisplayBookmarks.h"
#include "MessageEnteredLicense.h"
#include "MessageFind.h"
#include "MessageIndexingShowDialog.h"
#include "MessageInterruptTasks.h"
#include "MessageLoadProject.h"
#include "MessageRefresh.h"
@@ -660,11 +661,13 @@ void QtMainWindow::closeWindow()
void QtMainWindow::refresh()
{
MessageIndexingShowDialog().dispatch();
MessageRefresh().dispatch();
}
void QtMainWindow::forceRefresh()
{
MessageIndexingShowDialog().dispatch();
MessageRefresh().refreshAll().dispatch();
}