From e5f109b51095c4f24f53d31081c87c192a534b88 Mon Sep 17 00:00:00 2001 From: jchanvfx Date: Fri, 19 Jul 2019 22:09:14 +1200 Subject: [PATCH] updated prop line edit signal. --- NodeGraphQt/widgets/properties.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NodeGraphQt/widgets/properties.py b/NodeGraphQt/widgets/properties.py index a5d31e32..c9b65190 100644 --- a/NodeGraphQt/widgets/properties.py +++ b/NodeGraphQt/widgets/properties.py @@ -189,7 +189,8 @@ def focusOutEvent(self, event): self.__prev_text = '' def _on_return_pressed(self): - self.value_changed.emit(self.toolTip(), self.get_value()) + if self.__prev_text != self.text(): + self.value_changed.emit(self.toolTip(), self.text()) def get_value(self): return self.text()