mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -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:
@@ -483,8 +483,8 @@ void MacroConditionSourceEdit::UpdateEntryData()
|
||||
static_cast<int>(_entryData->GetCondition()));
|
||||
_settings->setPlainText(_entryData->_settings);
|
||||
_regex->SetRegexConfig(_entryData->_regex);
|
||||
_settingSelection->SetSource(_entryData->_source.GetSource());
|
||||
_settingSelection->SetSetting(_entryData->_setting);
|
||||
_settingSelection->SetSelection(_entryData->_source.GetSource(),
|
||||
_entryData->_setting);
|
||||
_size->SetValue(_entryData->_size);
|
||||
_sizeCompareMethods->setCurrentIndex(
|
||||
static_cast<int>(_entryData->_comparision));
|
||||
|
||||
Reference in New Issue
Block a user