Small fix to log window item clicking.
authoreshe <jessehakanen@gmail.com>
Tue, 17 Aug 2010 10:13:11 +0000 (11:13 +0100)
committereshe <jessehakanen@gmail.com>
Tue, 17 Aug 2010 10:13:11 +0000 (11:13 +0100)
src/gui/mainwindow.cpp

index 4388860..83df365 100644 (file)
@@ -219,6 +219,11 @@ void MainWindow::openSearch(QString const& str)
         searchDialog_->setSearchString(str);
     }
 
+    if(logWindow_ && logWindow_->isVisible())
+    {
+        logWindow_->hide();
+    }
+
     searchDialog_->show();
 }