From 04965ae43dd4e6ce87206695f33bd4a7d5b3cbfd Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Thu, 26 Apr 2012 09:44:53 +0100 Subject: Reset MUC Search windows between uses. Resolves: #1103 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(); } -- cgit v0.10.2-6-g49f6