summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/QtHighlightEditor.cpp2
-rw-r--r--Swift/QtUI/QtHighlightEditor.ui11
2 files changed, 8 insertions, 5 deletions
diff --git a/Swift/QtUI/QtHighlightEditor.cpp b/Swift/QtUI/QtHighlightEditor.cpp
index 3900cf9..ce07003 100644
--- a/Swift/QtUI/QtHighlightEditor.cpp
+++ b/Swift/QtUI/QtHighlightEditor.cpp
@@ -171,5 +171,5 @@ void QtHighlightEditor::onNewButtonClicked()
populateList();
HighlightRule newRule;
- newRule.setMatchChat(true);
+ newRule.setMatchMUC(true);
highlightManager_->insertRule(row, newRule);
QListWidgetItem *item = new QListWidgetItem();
diff --git a/Swift/QtUI/QtHighlightEditor.ui b/Swift/QtUI/QtHighlightEditor.ui
index a2baffd..be2e99b 100644
--- a/Swift/QtUI/QtHighlightEditor.ui
+++ b/Swift/QtUI/QtHighlightEditor.ui
@@ -145,7 +145,7 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QRadioButton" name="chatRadio">
+ <widget class="QRadioButton" name="roomRadio">
<property name="text">
- <string>Chats</string>
+ <string>Rooms</string>
</property>
<property name="checked">
@@ -155,7 +155,10 @@
</item>
<item>
- <widget class="QRadioButton" name="roomRadio">
+ <widget class="QRadioButton" name="chatRadio">
<property name="text">
- <string>Rooms</string>
+ <string>Chats</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
</property>
</widget>