Rework temp var mapping handling on copy of macro segments

This commit is contained in:
WarmUpTill
2026-05-20 21:09:09 +02:00
parent 930e8b38d4
commit 680f72e4f9
5 changed files with 18 additions and 13 deletions

View File

@@ -74,6 +74,7 @@ public:
EXPORT std::optional<const TempVariable> GetTempVariable(Macro *) const;
EXPORT bool operator==(const TempVariableRef &other) const;
bool HasValidID() const { return !_id.empty(); }
std::string GetID() const { return _id; }
private:
enum class SegmentType { NONE, CONDITION, ACTION, ELSEACTION };
@@ -87,7 +88,6 @@ private:
friend TempVariable;
friend TempVariableSelection;
friend MacroSegment;
};
class ADVSS_EXPORT TempVariableSelection : public QWidget {