mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-25 02:35:57 -05:00
Improve setting selection handling
Will now try to keep the current selection if possible. This can be useful when switching between source of the same time.
This commit is contained in:
@@ -40,8 +40,9 @@ class SourceSettingSelection : public QWidget {
|
||||
|
||||
public:
|
||||
SourceSettingSelection(QWidget *parent = nullptr);
|
||||
void SetSource(const OBSWeakSource &);
|
||||
void SetSetting(const SourceSetting &);
|
||||
void SetSource(const OBSWeakSource &,
|
||||
bool restorePreviousSelection = true);
|
||||
void SetSelection(const OBSWeakSource &source, const SourceSetting &);
|
||||
|
||||
private slots:
|
||||
void SelectionIdxChanged(int);
|
||||
|
||||
Reference in New Issue
Block a user