]> git.sur5r.net Git - bacula/bacula/commitdiff
Don't dock the page for dirstat and restore tree until the page selector tree widget is
authorDirk H Bartley <dbartley@schupan.com>
Fri, 31 Jul 2009 18:30:59 +0000 (18:30 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Fri, 31 Jul 2009 18:30:59 +0000 (18:30 +0000)
clicked.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9138 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/restore/restoretree.cpp
bacula/src/qt-console/restore/restoretree.h
bacula/src/qt-console/status/dirstat.cpp

index 9e83c1794543a54a41ef9bc3512c753011ff4ae1..1dc8c5cb16e0737d126732c1de749ba47adf4a43 100644 (file)
@@ -50,7 +50,6 @@ restoreTree::restoreTree()
    m_closeable = true;
    m_populated = false;
 
-   dockPage();
    m_debugCnt = 0;
    m_debugTrap = true;
 
@@ -1857,3 +1856,9 @@ int restoreTree::queryFileIndex(QString &fullPath, int jobId)
    } /* if (index != -1) */
    return qfileIndex;
 }
+
+
+void restoreTree::PgSeltreeWidgetClicked()
+{
+   dockPage();
+}
index d4b597386dacc613f09b79dea34da881eefb2442..ea9baae6fab4112f5f3941f61da6ffe479e47680 100644 (file)
@@ -49,6 +49,7 @@ class restoreTree : public Pages, public Ui::restoreTreeForm
 public:
    restoreTree();
    ~restoreTree();
+   virtual void PgSeltreeWidgetClicked();
    virtual void currentStackItem();
    enum folderCheckState
    {
index de63951978c1a18afebbaaa9acc20ee789a4cfd9..890b07c1750e6d7fb64a170ae9d997e2bdd65ed2 100644 (file)
@@ -55,8 +55,6 @@ DirStat::DirStat()
 
    createConnections();
    setCurrent();
-
-   dockPage();
 }
 
 void DirStat::getFont()
@@ -288,6 +286,7 @@ void DirStat::PgSeltreeWidgetClicked()
       populateAll();
       m_populated=true;
    }
+   dockPage();
 }
 
 /*