Explorar el Código

bugfix price/quantity autocomplete not working

Daniel Sheffield hace 3 años
padre
commit
f7dd98d004
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/widgets.py

+ 1 - 1
app/widgets.py

@@ -104,7 +104,7 @@ class AutoCompleteFloatEdit(numedit.FloatEdit):
             return
         elif key == 'enter':
             if self.get_edit_text() == '' or self.value() == Decimal(0.0):
-                self._emit('open', self.name)
+                self._emit('apply', self.name)
                 return
             self.calc()
             return