diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | activity.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +*.mo +*.pyo *.pyc *.xo *~ diff --git a/activity.py b/activity.py index 33b25dc..f23c491 100644 --- a/activity.py +++ b/activity.py @@ -514,7 +514,7 @@ class ChartData(gtk.TreeView): path = 0 elif selected: - path = self.model.get_path(selected)[0] + path = self.model.get_path(selected)[0] + 1 iter = self.model.insert(path, [label, value]) |