summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f9e4138e..451ec688 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -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()