Avoid refreshing Data tab each time directoryStructure is refreshed if the tab is not active.

This commit is contained in:
Al
2019-07-10 02:36:30 +02:00
parent 63f835628b
commit f7a4ff9f5a
+7 -1
View File
@@ -2563,8 +2563,14 @@ void MainWindow::directory_refreshed()
{
// some problem-reports may rely on the virtual directory tree so they need to be updated
// now
refreshDataTreeKeepExpandedNodes();
updateProblemsButton();
//Some better check for the current tab is needed.
if (ui->tabWidget->currentIndex() == 2) {
refreshDataTreeKeepExpandedNodes();
}
}
void MainWindow::esplist_changed()