Commit 8584636a authored by Steve Borho's avatar Steve Borho
Browse files

quickop: catch up with status widget API changes (closes #97)

parent d1fa1a969b60
......@@ -98,7 +98,7 @@ class QuickOpDialog(QDialog):
layout.addLayout(hbox)
s = QSettings()
stwidget.restoreState(s.value('quickop/state').toByteArray())
stwidget.loadSettings(s, 'quickop')
self.restoreGeometry(s.value('quickop/geom').toByteArray())
self.stwidget = stwidget
self.stwidget.refreshWctx()
......@@ -144,7 +144,7 @@ class QuickOpDialog(QDialog):
self.cmd.core.cancel()
else:
s = QSettings()
s.setValue('quickop/state', self.stwidget.saveState())
self.stwidget.saveSettings(s, 'quickop')
s.setValue('quickop/geom', self.saveGeometry())
QDialog.reject(self)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment