mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix Twitch chat connection in action when token/channel change
This commit is contained in:
parent
d7dc9976c9
commit
e37e35e318
|
|
@ -535,6 +535,7 @@ void MacroActionTwitchEdit::TwitchTokenChanged(const QString &token)
|
|||
_entryData->_token = GetWeakTwitchTokenByQString(token);
|
||||
_category->SetToken(_entryData->_token);
|
||||
_channel->SetToken(_entryData->_token);
|
||||
_entryData->ResetChatConnection();
|
||||
|
||||
SetWidgetVisibility();
|
||||
emit(HeaderInfoChanged(token));
|
||||
|
|
@ -724,6 +725,7 @@ void MacroActionTwitchEdit::ChannelChanged(const TwitchChannel &channel)
|
|||
|
||||
auto lock = LockContext();
|
||||
_entryData->_channel = channel;
|
||||
_entryData->ResetChatConnection();
|
||||
}
|
||||
|
||||
void MacroActionTwitchEdit::ChatMessageChanged()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user