From b77d1eb081faa568cb5e9f926f559d90205d3cff Mon Sep 17 00:00:00 2001 From: ecdsa Date: Sun, 17 Mar 2013 13:50:45 +0100 Subject: [PATCH] use a new variable name for column-width, because the current stored value might be zero in lots of wallets --- gui/gui_classic.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/gui_classic.py b/gui/gui_classic.py index 6208e2a..d795dc1 100644 --- a/gui/gui_classic.py +++ b/gui/gui_classic.py @@ -301,7 +301,7 @@ class ElectrumWindow(QMainWindow): self.completions = QStringListModel() self.tabs = tabs = QTabWidget(self) - self.column_widths = self.config.get("column-widths", default_column_widths ) + self.column_widths = self.config.get("column_widths", default_column_widths ) tabs.addTab(self.create_history_tab(), _('History') ) tabs.addTab(self.create_send_tab(), _('Send') ) tabs.addTab(self.create_receive_tab(), _('Receive') ) @@ -2271,7 +2271,7 @@ class ElectrumWindow(QMainWindow): g = self.geometry() self.config.set_key("winpos-qt", [g.left(),g.top(),g.width(),g.height()], True) self.save_column_widths() - self.config.set_key("column-widths", self.column_widths, True) + self.config.set_key("column_widths", self.column_widths, True) self.config.set_key("console-history",self.console.history[-50:]) event.accept() -- 1.7.1