From 6de4c42c28a1acbf00532e74c0be63ed1e8e7e57 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 13 Jul 2010 22:24:21 -0500 Subject: [PATCH] If editing isn't supported (Maemo 5 it seems) then fall back to duplicating --- src/qhistory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qhistory.py b/src/qhistory.py index af164b8..822e098 100644 --- a/src/qhistory.py +++ b/src/qhistory.py @@ -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: -- 1.7.9.5