fix: no longer crash on clip creation in "special" channels (#2528)
This commit is contained in:
@@ -123,7 +123,9 @@ Split::Split(QWidget *parent)
|
||||
|
||||
// Alt+X: create clip LUL
|
||||
createShortcut(this, "Alt+X", [this] {
|
||||
if (!this->getChannel()->isTwitchChannel())
|
||||
if (const auto type = this->getChannel()->getType();
|
||||
type != Channel::Type::Twitch &&
|
||||
type != Channel::Type::TwitchWatching)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user