summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-04-26 08:44:53 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-26 08:44:53 (GMT)
commit04965ae43dd4e6ce87206695f33bd4a7d5b3cbfd (patch)
treeef257f87b7ee7c5cf29be91598618fe57a8d9c18 /Swift/Controllers
parent34391e11c507285ecffa63991551e7da60235454 (diff)
downloadswift-04965ae43dd4e6ce87206695f33bd4a7d5b3cbfd.zip
swift-04965ae43dd4e6ce87206695f33bd4a7d5b3cbfd.tar.bz2
Reset MUC Search windows between uses.
Resolves: #1103
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/Chat/MUCSearchController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/MUCSearchController.cpp b/Swift/Controllers/Chat/MUCSearchController.cpp
index 5312fa7..f0f8a37 100644
--- a/Swift/Controllers/Chat/MUCSearchController.cpp
+++ b/Swift/Controllers/Chat/MUCSearchController.cpp
@@ -40,8 +40,8 @@ void MUCSearchController::openSearchWindow() {
window_->onSearchService.connect(boost::bind(&MUCSearchController::handleSearchService, this, _1));
window_->onFinished.connect(boost::bind(&MUCSearchController::handleMUCSearchFinished, this, _1));
window_->addSavedServices(savedServices_);
- handleSearchService(JID(jid_.getDomain()));
}
+ handleSearchService(JID(jid_.getDomain()));
window_->show();
}