mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-27 11:45:34 -05:00
Update segment header when variable selection changes
This commit is contained in:
@@ -707,6 +707,8 @@ void MacroActionVariableEdit::VariableChanged(const QString &text)
|
||||
|
||||
auto lock = LockContext();
|
||||
_entryData->_variable = GetWeakVariableByQString(text);
|
||||
emit HeaderInfoChanged(
|
||||
QString::fromStdString(_entryData->GetShortDesc()));
|
||||
}
|
||||
|
||||
void MacroActionVariableEdit::Variable2Changed(const QString &text)
|
||||
|
||||
@@ -242,6 +242,8 @@ void MacroConditionVariableEdit::VariableChanged(const QString &text)
|
||||
|
||||
auto lock = LockContext();
|
||||
_entryData->_variable = GetWeakVariableByQString(text);
|
||||
emit HeaderInfoChanged(
|
||||
QString::fromStdString(_entryData->GetShortDesc()));
|
||||
}
|
||||
|
||||
void MacroConditionVariableEdit::Variable2Changed(const QString &text)
|
||||
|
||||
Reference in New Issue
Block a user