From: Ed Page Date: Tue, 8 Jun 2010 00:09:17 +0000 (-0500) Subject: Fixing a bug when changing categories we would get a bad unit selected X-Git-Url: http://git.maemo.org/git/?p=gonvert;a=commitdiff_plain;h=8b3db737dafab1eb280ce767672d202c8f3c70fa Fixing a bug when changing categories we would get a bad unit selected --- diff --git a/src/gonvert_qt.py b/src/gonvert_qt.py index acf25d9..d47b1b8 100755 --- a/src/gonvert_qt.py +++ b/src/gonvert_qt.py @@ -712,6 +712,8 @@ class QuickConvert(object): self._window.showNormal() def select_category(self, categoryName): + self._inputUnitName = "" + self._outputUnitName = "" self._inputUnitValue.setText("") self._inputUnitSymbol.setText("") self._inputView.clear()