Improve settings button selection handling

Will now try to keep the current button selection if possible.
This can be useful when switching between source of the same time.
This commit is contained in:
WarmUpTill
2025-02-27 20:49:23 +01:00
committed by WarmUpTill
parent 8dfe81f522
commit 7de28eedd3
6 changed files with 83 additions and 35 deletions

View File

@@ -80,7 +80,7 @@ public:
private slots:
void SourceChanged(const SourceSelection &);
void ActionChanged(int value);
void ButtonChanged(int idx);
void ButtonChanged(const SourceSettingButton &);
void GetSettingsClicked();
void SettingsStringChanged();
void DeinterlaceModeChanged(int);
@@ -99,7 +99,7 @@ private:
SourceSelectionWidget *_sources;
QComboBox *_actions;
QComboBox *_settingsButtons;
SourceSettingsButtonSelection *_settingsButtons;
QHBoxLayout *_settingsLayout;
QComboBox *_settingsInputMethods;
VariableTextEdit *_manualSettingValue;