From 2828363e9e3b863792f05146cfc07cc01ace2c3c Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 1 Feb 2010 19:48:09 +0000 Subject: [PATCH] fix bug in notemodel, wrong offset svn: r14184 --- src/gui/views/treemodels/notemodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/treemodels/notemodel.py b/src/gui/views/treemodels/notemodel.py index 95921d356..648158157 100644 --- a/src/gui/views/treemodels/notemodel.py +++ b/src/gui/views/treemodels/notemodel.py @@ -130,7 +130,7 @@ class NoteModel(FlatBaseModel): return None def sort_change(self, data): - return "%012x" % data[11] + return "%012x" % data[Note.POS_CHANGE] def column_change(self,data): return unicode(time.strftime('%x %X',time.localtime(