trivial fixed to fast models
svn: r5873
This commit is contained in:
parent
7ef194d5ee
commit
f1bcee445f
@ -56,7 +56,7 @@ class PersonTreeView(gtk.TreeView):
|
|||||||
self.set_model(PersonFilterModel(self._db,apply_filter))
|
self.set_model(PersonFilterModel(self._db,apply_filter))
|
||||||
|
|
||||||
def clear_filter(self):
|
def clear_filter(self):
|
||||||
self.set_model(PersonModel(self._db))
|
self.set_model(PersonTreeModel(self._db))
|
||||||
|
|
||||||
|
|
||||||
# Accessor methods for the columns
|
# Accessor methods for the columns
|
||||||
|
@ -3,9 +3,9 @@ import gtk
|
|||||||
import gobject
|
import gobject
|
||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
sys.path.append("..")
|
sys.path.append("../src")
|
||||||
|
|
||||||
from Models import PersonModel,PersonFilterModel
|
#from Models import PersonModel,PersonFilterModel
|
||||||
from TreeViews import PersonTreeView
|
from TreeViews import PersonTreeView
|
||||||
import GenericFilter
|
import GenericFilter
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user