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-3.0.0~1187 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5f07e231e263958d8486a3291b0a1c0ccd3634a9;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