Fixing a bug where the wrong unit would show up when doing some conversion
authorEd Page <eopage@byu.net>
Sat, 5 Jun 2010 16:35:24 +0000 (11:35 -0500)
committerEd Page <eopage@byu.net>
Sat, 5 Jun 2010 16:35:24 +0000 (11:35 -0500)
src/gonvert_qt.py

index b67b7ed..ed8b8bf 100755 (executable)
@@ -1134,6 +1134,7 @@ class UnitWindow(object):
        def _on_value_edited(self, *args):
                userInput = self._selectedUnitValue.text()
                self._unitsModel.update_values(self._selectedIndex, str(userInput))
+               self._update_favorites()
 
        def _select_unit(self, index):
                unit = self._unitsModel.get_unit(index)