]> git.sur5r.net Git - bacula/bacula/commitdiff
Get correct selection when clicking a dir in bat restore
authorKern Sibbald <kern@sibbald.com>
Sat, 5 Jul 2008 12:30:18 +0000 (12:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 5 Jul 2008 12:30:18 +0000 (12:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7313 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/restore/restore.cpp

index 305c374ab279afcd405a0e674a6ac458e9b86831..d4e02095a6886529e7f50d9ecf206c1720ec49cd 100644 (file)
@@ -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