mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-28 12:17:04 -05:00
Add "Any" entry of the reward selection only for Twitch condition
This commit is contained in:
@@ -135,9 +135,10 @@ void TwitchPointsRewardSelection::SelectionChanged(int index)
|
||||
emit PointsRewardChanged(pointsReward);
|
||||
}
|
||||
|
||||
TwitchPointsRewardWidget::TwitchPointsRewardWidget(QWidget *parent)
|
||||
TwitchPointsRewardWidget::TwitchPointsRewardWidget(QWidget *parent,
|
||||
bool allowAny)
|
||||
: QWidget(parent),
|
||||
_selection(new TwitchPointsRewardSelection(this)),
|
||||
_selection(new TwitchPointsRewardSelection(this, allowAny)),
|
||||
_refreshButton(new QPushButton(this))
|
||||
{
|
||||
_refreshButton->setMaximumWidth(22);
|
||||
|
||||
Reference in New Issue
Block a user