summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/scanlist.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/scanlist.cpp b/noncore/net/wellenreiter/gui/scanlist.cpp
index d695c17..245290d 100644
--- a/noncore/net/wellenreiter/gui/scanlist.cpp
+++ b/noncore/net/wellenreiter/gui/scanlist.cpp
@@ -24,2 +24,3 @@
#include <qpopupmenu.h>
+#include <qcheckbox.h>
@@ -471,2 +472,8 @@ void MScanListItem::decorateItem( QString type, QString essid, QString macaddr,
_signal = 0;
+
+ if ( WellenreiterConfigWindow::instance()->openTree->isChecked() )
+ {
+ listView()->ensureItemVisible( this );
+ }
+
}