From 87998094779952771161459472000232c2db8d3d Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sat, 23 Sep 2017 19:28:06 +0200 Subject: [PATCH] fix qt plugins crash --- gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index b962e2175..785e683c4 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -2817,7 +2817,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): except Exception: self.print_msg("error: cannot display plugin", name) traceback.print_exc(file=sys.stdout) - grid.setRowStretch(i+1,1) + grid.setRowStretch(len(plugins.descriptions.values()), 1) vbox.addLayout(Buttons(CloseButton(d))) d.exec_()