commit 6e936db94a028068eaabf4ddb983a2e012abdacd
parent 6dfd3a0cabbb1bf2040773984cf19aed280d30e4
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 25 Sep 2017 21:26:04 +0200
Merge pull request #2918 from SomberNight/qt_plugins_grid
fix qt plugins crash
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -2827,7 +2827,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_()