tuse a new variable name for column-width, because the current stored value might be zero in lots of wallets - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b77d1eb081faa568cb5e9f926f559d90205d3cff DIR parent 6a45fb831898671dbe517fe45fd6d390287d1bf6 HTML Author: ecdsa <ecdsa@github> Date: Sun, 17 Mar 2013 13:50:45 +0100 use a new variable name for column-width, because the current stored value might be zero in lots of wallets Diffstat: M gui/gui_classic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/gui_classic.py b/gui/gui_classic.py t@@ -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') ) t@@ -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()