mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
added additional dropdown for moderation mode
This commit is contained in:
parent
3a9f9fa17b
commit
40c1857c90
1 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,10 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
|
|||
// sub menu
|
||||
auto moreMenu = new QMenu("More", this);
|
||||
|
||||
moreMenu->addAction("Toggle moderation mode", this->split_, [this]() {
|
||||
this->split_->setModerationMode(!this->split_->getModerationMode());
|
||||
});
|
||||
|
||||
moreMenu->addAction("Show viewer list", this->split_,
|
||||
&Split::showViewerList);
|
||||
|
||||
|
|
Loading…
Reference in a new issue