Skip to content

Commit 49c9bb8

Browse files
committed
Fix symbolbox duplicated output
1 parent d542db4 commit 49c9bb8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/Objects/SymbolAtomObject.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class SymbolAtomObject final : public ObjectBase
3636

3737
input.onTextChange = [this] {
3838
startEdition();
39-
setSymbol(input.getText(true).toStdString());
39+
auto inputText = input.getText(true);
40+
if(getText() != inputText)
41+
setSymbol(inputText);
4042
stopEdition();
4143
};
4244

0 commit comments

Comments
 (0)