mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Add the option to manually update channel text.
This adds the option to manually update the channel text. So that people can get fresh stats when hovering over a header split, without having to wait for it to update / restarting chatterino.
This commit is contained in:
parent
511f60a181
commit
1d1fdaaaf1
1 changed files with 5 additions and 2 deletions
|
@ -136,9 +136,12 @@ void SplitHeader::addDropdownItems(RippleEffectButton *)
|
|||
this->dropdownMenu.addAction("Open in Streamlink", this->split, &Split::doOpenStreamlink);
|
||||
this->dropdownMenu.addSeparator();
|
||||
this->dropdownMenu.addAction("Reload channel emotes", this, SLOT(menuReloadChannelEmotes()));
|
||||
this->dropdownMenu.addAction("Reload channel stats", this, [this]{
|
||||
updateChannelText();
|
||||
});
|
||||
this->dropdownMenu.addAction("Manual reconnect", this, SLOT(menuManualReconnect()));
|
||||
this->dropdownMenu.addSeparator();
|
||||
this->dropdownMenu.addAction("Show changelog", this, SLOT(menuShowChangelog()));
|
||||
//this->dropdownMenu.addSeparator();
|
||||
//this->dropdownMenu.addAction("Show changelog", this, SLOT(menuShowChangelog()));
|
||||
// clang-format on
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue