From: Kern Sibbald Date: Sat, 5 Jul 2008 12:30:18 +0000 (+0000) Subject: Get correct selection when clicking a dir in bat restore X-Git-Tag: Release-7.0.0~4339 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=208b8dd962c5d4852e303a47b86b95e0865ae9be;p=bacula%2Fbacula Get correct selection when clicking a dir in bat restore git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7313 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/restore/restore.cpp b/bacula/src/qt-console/restore/restore.cpp index 305c374ab2..d4e02095a6 100644 --- a/bacula/src/qt-console/restore/restore.cpp +++ b/bacula/src/qt-console/restore/restore.cpp @@ -215,6 +215,7 @@ void restorePage::addDirectory(QString &newdirr) } m_dirPaths.insert(fullpath, item); m_dirTreeItems.insert(item, fullpath); + directoryWidget->setCurrentItem(NULL); } } else { // Unix add / first if not already there