From 112692498193b413c9d511292d604991e7ce98e6 Mon Sep 17 00:00:00 2001 From: ecdsa Date: Sun, 10 Mar 2013 21:36:43 +0100 Subject: [PATCH] gui plugins area --- gui/gui_classic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/gui_classic.py b/gui/gui_classic.py index b74005adc..7a8343b5c 100644 --- a/gui/gui_classic.py +++ b/gui/gui_classic.py @@ -2021,7 +2021,7 @@ class ElectrumWindow(QMainWindow): # plugins if self.plugins: - tab5 = QWidget() + tab5 = QScrollArea() grid_plugins = QGridLayout(tab5) grid_plugins.setColumnStretch(0,1) tabs.addTab(tab5, _('Plugins') ) @@ -2032,9 +2032,9 @@ class ElectrumWindow(QMainWindow): name, description = p.get_info() cb = QCheckBox(name) cb.setChecked(p.is_enabled()) - cb.stateChanged.connect(mk_toggle(cb,p)) + cb.clicked.connect(mk_toggle(cb,p)) grid_plugins.addWidget(cb, i, 0) - grid_plugins.addWidget(HelpButton(description), i, 2) + grid_plugins.addWidget(HelpButton(description), i, 1) except: print_msg("Error: cannot display plugin", p) traceback.print_exc(file=sys.stdout)