commit b77d1eb081faa568cb5e9f926f559d90205d3cff
parent 6a45fb831898671dbe517fe45fd6d390287d1bf6
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:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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()