From: Ed Page Date: Wed, 14 Jul 2010 03:24:21 +0000 (-0500) Subject: If editing isn't supported (Maemo 5 it seems) then fall back to duplicating X-Git-Url: http://vcs.maemo.org/git/?p=ejpi;a=commitdiff_plain;h=6de4c42c28a1acbf00532e74c0be63ed1e8e7e57 If editing isn't supported (Maemo 5 it seems) then fall back to duplicating --- 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: