Commit f1dfe9b8 authored by Steve Borho's avatar Steve Borho
Browse files

quickop: keep --nobackup checkbox persistent, default to checked

parent 79af516c11a2
......@@ -100,6 +100,8 @@ class QuickOpDialog(QDialog):
s = QSettings()
stwidget.loadSettings(s, 'quickop')
if hasattr(self, 'chk'):
self.chk.setChecked(s.value('quickop/nobackup', True).toBool())
self.stwidget = stwidget
......@@ -146,6 +148,8 @@ class QuickOpDialog(QDialog):
s = QSettings()
self.stwidget.saveSettings(s, 'quickop')
s.setValue('quickop/geom', self.saveGeometry())
if hasattr(self, 'chk'):
s.setValue('quickop/nobackup', self.chk.isChecked())
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