Give relview a configuration, remove old config from preferences
svn: r14204
This commit is contained in:
@@ -1077,7 +1077,7 @@ class ListView(NavigationView):
|
||||
|
||||
:return: list of functions
|
||||
"""
|
||||
def columnpage():
|
||||
def columnpage(configdialog):
|
||||
return _('Columns'), ColumnOrder(self._config, self.COLUMN_NAMES,
|
||||
self.set_column_order,
|
||||
tree=self.type_list()==LISTTREE)
|
||||
|
@@ -392,7 +392,7 @@ class PageView(DbGUIElement):
|
||||
def init_config(self):
|
||||
"""
|
||||
If you need a view with a config, then call this method in the
|
||||
build_tree method. It will set up a config file for the
|
||||
build_widget or __init__ method. It will set up a config file for the
|
||||
view, and use CONFIGSETTINGS to set the config defaults.
|
||||
The config is later accessbile via self._config
|
||||
So you can do
|
||||
|
Reference in New Issue
Block a user