Save settings when switching to new macro

This should ensure that settings are saved more frequently and less data
is lost in case the plugin crashes with the settings dialog opened.
This commit is contained in:
WarmUpTill
2024-03-03 18:23:07 +01:00
committed by WarmUpTill
parent 8271a6e8db
commit 902715bd3e

View File

@@ -13,6 +13,7 @@
#include "utility.hpp"
#include "version.h"
#include <obs-frontend-api.h>
#include <QColor>
#include <QGraphicsOpacityEffect>
#include <QMenu>
@@ -729,6 +730,7 @@ void AdvSceneSwitcher::MacroSelectionChanged()
return;
}
SetEditMacro(*macro);
obs_frontend_save();
}
void AdvSceneSwitcher::HighlightOnChange()