We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90278e1 commit 9d664dbCopy full SHA for 9d664db
src/lib/configwidgetslib/impage.cpp
@@ -205,8 +205,20 @@ void IMPage::selectedGroupChanged() {
205
QMessageBox::question(this, _("Current group changed"),
206
_("Do you want to change group? Changes to "
207
"current group will be lost!"))) {
208
+ // Temporarily disconnect the signal
209
+ bool connection = disconnect(ui_->inputMethodGroupComboBox,
210
+ &QComboBox::currentTextChanged, this,
211
+ &IMPage::selectedGroupChanged);
212
+
213
ui_->inputMethodGroupComboBox->setCurrentText(
214
config_->currentGroup());
215
216
+ // Restore the connection
217
+ if (connection) {
218
+ connect(ui_->inputMethodGroupComboBox,
219
220
221
+ }
222
return;
223
}
224
0 commit comments