This commit is contained in:
Kovid Goyal 2010-01-04 20:10:22 -07:00
parent 203d48295c
commit 25593455d4

View File

@ -437,6 +437,8 @@ class ConfigDialog(ResizableDialog, Ui_Dialog):
self.priority_label.setVisible(iswindows)
self._plugin_model = PluginModel()
self.plugin_view.setModel(self._plugin_model)
self.plugin_view.setStyleSheet(
"QTreeView::item { padding-bottom: 10px;}")
self.connect(self.toggle_plugin, SIGNAL('clicked()'), lambda : self.modify_plugin(op='toggle'))
self.connect(self.customize_plugin, SIGNAL('clicked()'), lambda : self.modify_plugin(op='customize'))
self.connect(self.remove_plugin, SIGNAL('clicked()'), lambda : self.modify_plugin(op='remove'))