Fix a comparison.
authorGerald Combs <gerald@wireshark.org>
Wed, 30 Oct 2013 23:14:11 +0000 (23:14 -0000)
committerGerald Combs <gerald@wireshark.org>
Wed, 30 Oct 2013 23:14:11 +0000 (23:14 -0000)
svn path=/trunk/; revision=52989

ui/qt/main_window.cpp

index 2838a88f06aa354f9535a3c736fced861f792b2a..a18bfb13c5fc9311e93a0423fdc72fcc722cd025 100644 (file)
@@ -444,7 +444,7 @@ void MainWindow::loadWindowGeometry()
     // Let Qt move and resize our window if needed (e.g. if it's offscreen)
     QByteArray geom = shadow_main.saveGeometry();
 
-    if (strlen (get_conn_cfilter()) > 0) {
+    if (strlen (get_conn_cfilter()) < 1) {
         QPropertyAnimation *pos_anim = new QPropertyAnimation(this, "pos");
         QPropertyAnimation *size_anim = new QPropertyAnimation(this, "size");