If editing isn't supported (Maemo 5 it seems) then fall back to duplicating
[ejpi] / 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: