mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-12 04:11:06 -05:00
Refactor locking of macro segments
This should avoid crashes when actions or conditions are performed in parallel to the main macro loop and will improve the UI responsiveness in some scenarios
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
#pragma once
|
||||
#include "file-selection.hpp"
|
||||
#include "inline-script.hpp"
|
||||
#include "sync-helpers.hpp"
|
||||
#include "variable-text-edit.hpp"
|
||||
|
||||
#include <QLayout>
|
||||
|
||||
namespace advss {
|
||||
|
||||
class MacroSegmentScriptInline {
|
||||
class MacroSegmentScriptInline : public Lockable {
|
||||
public:
|
||||
InlineScript::Type GetType() const { return _script.GetType(); }
|
||||
void SetType(InlineScript::Type);
|
||||
|
||||
Reference in New Issue
Block a user