If editing isn't supported (Maemo 5 it seems) then fall back to duplicating
authorEd Page <eopage@byu.net>
Wed, 14 Jul 2010 03:24:21 +0000 (22:24 -0500)
committerEd Page <eopage@byu.net>
Wed, 14 Jul 2010 03:24:21 +0000 (22:24 -0500)
src/qhistory.py

index af164b8..822e098 100644 (file)
@@ -110,6 +110,8 @@ class QCalcHistory(history.AbstractHistory):
                if index.column() == self._CLOSE_COLUMN:
                        self._historyStore.removeRow(index.row(), index.parent())
                        self._rowCount -= 1
+               elif index.column() == self._EQ_COLUMN:
+                       self._duplicate_row(index)
                elif index.column() == self._RESULT_COLUMN:
                        self._duplicate_row(index)
                else: