mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-13 12:50:37 -05:00
Adapt to new OBS dock API
* The plugin will no longer attempt to restore dock positions on scene collection change. * When a macro is being renamed the dock widget with the current name will be removed. A new dock with the new name will have to be opened manually. * The status dock position will be when updating to a version containing this changei from an older version.
This commit is contained in:
@@ -1165,7 +1165,7 @@ void AdvSceneSwitcher::CopyMacro()
|
||||
}
|
||||
|
||||
OBSDataAutoRelease data = obs_data_create();
|
||||
macro->Save(data);
|
||||
macro->Save(data, true);
|
||||
newMacro->Load(data);
|
||||
newMacro->PostLoad();
|
||||
newMacro->SetName(name);
|
||||
|
||||
Reference in New Issue
Block a user