Skip to content

Commit

Permalink
updated prop line edit signal.
Browse files Browse the repository at this point in the history
  • Loading branch information
jchanvfx committed Jul 19, 2019
1 parent e0aa12a commit e5f109b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NodeGraphQt/widgets/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e5f109b

Please sign in to comment.