summary refs log tree commit diff
path: root/src/RoomInfoListItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RoomInfoListItem.cpp')
-rw-r--r--src/RoomInfoListItem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/RoomInfoListItem.cpp b/src/RoomInfoListItem.cpp

index 0acfcc90..427af632 100644 --- a/src/RoomInfoListItem.cpp +++ b/src/RoomInfoListItem.cpp
@@ -145,11 +145,12 @@ RoomInfoListItem::init(QWidget *parent) tagAction->setWhatsThis(tr("Adds or removes the specified tag.", "WhatsThis hint for tag menu actions")); - for (const auto &riTag : roomInfo.tags) + for (const auto &riTag : roomInfo.tags) { if (riTag == tag) { tagAction->setChecked(true); break; } + } connect(tagAction, &QAction::triggered, this, [this, tag](bool checked) { if (checked)