From 694e3ed2793d5c2dafc1061b119c93b091aeb2d1 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 6 Oct 2013 12:19:46 +0200 Subject: bugfix: statusbar may have stayed enabled if an error occured on handling the refreshed-event --- src/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') 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 -- cgit v1.3.1