summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Doukoudakis <thanos.doukoudakis@isode.com>2018-02-12 16:22:30 (GMT)
committerTobias Markmann <tm@ayena.de>2018-02-13 10:57:32 (GMT)
commit1b99be2dc6470f13fba252264e82a3571768d199 (patch)
tree069f1fb208f5d86b5e70878089508e5fc054a753 /Swift/QtUI/UserSearch
parentd29e1624e38b528a7ae0e4cba83e4a790102aa8d (diff)
downloadswift-1b99be2dc6470f13fba252264e82a3571768d199.zip
swift-1b99be2dc6470f13fba252264e82a3571768d199.tar.bz2
Start Chat options greyed out after first use
This patch will reset the options to add users the default status, whenever the QtUserSearchWindow is reset. Test-Information: Tested the changes in Windows 10 (64 bit) with Qt 5.8.0, in a server environment that does not allow starting a new chat with more than one participant, after closing and reopening the window. Change-Id: Iff6dd75a5751e7e8871069387749b94b789320a9
Diffstat (limited to 'Swift/QtUI/UserSearch')
-rw-r--r--Swift/QtUI/UserSearch/QtUserSearchWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
index 8d15739..4489bc0 100644
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
@@ -606,6 +606,7 @@ void QtUserSearchWindow::clear() {
howText = QString(tr("Who do you want to invite to the chat?"));
}
firstMultiJIDPage_->howLabel_->setText(howText);
+ firstMultiJIDPage_->groupBox->setEnabled(true);
}
clearForm();
resultsPage_->results_->setModel(nullptr);