diff options
| author | Tannin <devnull@localhost> | 2013-10-06 12:19:46 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-06 12:19:46 +0200 |
| commit | 694e3ed2793d5c2dafc1061b119c93b091aeb2d1 (patch) | |
| tree | 429f6b5ee9ac74f2d31c234d6e77c4d9d80617f1 /src/mainwindow.cpp | |
| parent | 0a3169b808cf2b84ae7c77fd6cb0a7b0aa9a8df3 (diff) | |
bugfix: statusbar may have stayed enabled if an error occured on handling the refreshed-event
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 601ec5c5..b6ee866f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2387,6 +2387,8 @@ void MainWindow::refresher_progress(int percent) void MainWindow::directory_refreshed() { + statusBar()->hide(); + DirectoryEntry *newStructure = m_DirectoryRefresher.getDirectoryStructure(); if (newStructure != NULL) { DirectoryEntry *oldStructure = m_DirectoryStructure; @@ -2404,7 +2406,6 @@ void MainWindow::directory_refreshed() refreshLists(); } // m_RefreshProgress->setVisible(false); - statusBar()->hide(); // some problem-reports may rely on the virtual directory tree so they need to be updated // now |
