summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-01 09:43:50 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-01 09:43:50 (GMT)
commit5872f31816ca34c341fff1a90845cc7aeb65293e (patch)
treefeeb5e866e31e3e33be38373385f8de0cf5405c1
parent1d7b76386202c7df168c088c6acde96718b05975 (diff)
downloadswift-5872f31816ca34c341fff1a90845cc7aeb65293e.zip
swift-5872f31816ca34c341fff1a90845cc7aeb65293e.tar.bz2
Expand search results when adding a new service to find MUC dialog.
Resolves: #574
-rw-r--r--Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
index c5a1478..0ccd558 100644
--- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
+++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
@@ -137,6 +137,7 @@ void QtMUCSearchWindow::addService(const MUCService& service) {
new MUCSearchRoomItem(P2QSTRING(room.getNode()), serviceItem);
}
model_->addService(serviceItem);
+ results_->expandAll();
}
}