summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtHighlightEditor.cpp')
-rw-r--r--Swift/QtUI/QtHighlightEditor.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/Swift/QtUI/QtHighlightEditor.cpp b/Swift/QtUI/QtHighlightEditor.cpp
index c6e4319..7aea26b 100644
--- a/Swift/QtUI/QtHighlightEditor.cpp
+++ b/Swift/QtUI/QtHighlightEditor.cpp
@@ -10,18 +10,20 @@
* See the COPYING file for more information.
*/
+#include <Swift/QtUI/QtHighlightEditor.h>
+
#include <cassert>
#include <boost/lexical_cast.hpp>
-#include <Swift/QtUI/UserSearch/QtSuggestingJIDInput.h>
+#include <QFileDialog>
+#include <QTreeWidgetItem>
+
#include <Swift/Controllers/HighlightManager.cpp>
-#include <Swift/QtUI/QtHighlightEditor.h>
-#include <Swift/QtUI/QtSwiftUtil.h>
-#include <Swift/QtUI/QtSettingsProvider.h>
-#include <QTreeWidgetItem>
-#include <QFileDialog>
+#include <Swift/QtUI/QtSettingsProvider.h>
+#include <Swift/QtUI/QtSwiftUtil.h>
+#include <Swift/QtUI/UserSearch/QtSuggestingJIDInput.h>
namespace Swift {
@@ -419,6 +421,10 @@ HighlightRule QtHighlightEditor::ruleFromDialog()
rule.setMatchMUC(true);
}
+ if (ui_.allMsgRadio->isChecked()) {
+ action.setHighlightAllText(true);
+ }
+
if (ui_.senderRadio->isChecked()) {
QString senderName = jid_->text();
if (!senderName.isEmpty()) {