Commit 919b84e4 authored by Og B. Maciel's avatar Og B. Maciel

Reverted r645. Fixes b.g.o #561751.

svn path=/trunk/; revision=681
parent 890560e4
......@@ -2,6 +2,7 @@
* src/gui/adddialog.py: Handle adding repeating records.
* src/gui/widgets/datepicker.py: Emmit signal when data is changed.
* src/gui/widgets/genericlistview.py: Reverted r645. Fixes b.g.o #561751.
* src/gui/maindialog.py: Code cleanup; update endDate when dueDate is changed.
* src/lib/scheduler.py: Code cleanupand improvements for date handling functions.
......
......@@ -415,7 +415,7 @@ class MainDialog:
def remove_bill(self):
try:
if self.actions.delete_bill(self.currentrecord.Id):
self.list.listStore.remove()
self.list.remove()
self._update_statusbar()
self.reloadTimeline()
except Exception, e:
......
......@@ -95,12 +95,8 @@ class GenericListView(gtk.TreeView):
# Defines the TreeStore
self.listStore = gtk.TreeStore(*dataTypes)
self.filtered_model = self.listStore.filter_new()
self.sorted_model = gtk.TreeModelSort(self.filtered_model)
# Associates the listStore to the ListView object
self.set_model(self.sorted_model)
self.set_model(self.listStore)
# Add columns to the List
for column in treeViewColumns:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment