Diffstat (limited to 'noncore/apps/confedit/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/confedit/mainwindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp index 17a5058..fc403d2 100644 --- a/noncore/apps/confedit/mainwindow.cpp +++ b/noncore/apps/confedit/mainwindow.cpp @@ -76,2 +76,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : this, SLOT( stopTimer( QListViewItem* ) ) ); + setCurrent(0); } @@ -121,2 +122,3 @@ void MainWindow::setCurrent(QListViewItem *item) { + editor->hide(); if (!item) return; @@ -127,3 +129,2 @@ void MainWindow::setCurrent(QListViewItem *item) { - editor->hide(); updateGeometry(); @@ -132,3 +133,4 @@ void MainWindow::setCurrent(QListViewItem *item) return; - }else editor->show(); + } + editor->show(); _fileItem = 0; |