Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

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

Changeset 792461334b08

Parent 79af516c11a2

by Steve Borho

Changes to one file · Browse files at 792461334b08 Showing diff from parent 79af516c11a2 Diff from another changeset...

 
100
101
102
 
 
103
104
105
 
146
147
148
 
 
149
150
151
 
100
101
102
103
104
105
106
107
 
148
149
150
151
152
153
154
155
@@ -100,6 +100,8 @@
  s = QSettings()   stwidget.loadSettings(s, 'quickop')   self.restoreGeometry(s.value('quickop/geom').toByteArray()) + if hasattr(self, 'chk'): + self.chk.setChecked(s.value('quickop/nobackup', True).toBool())   self.stwidget = stwidget   self.stwidget.refreshWctx()   @@ -146,6 +148,8 @@
  s = QSettings()   self.stwidget.saveSettings(s, 'quickop')   s.setValue('quickop/geom', self.saveGeometry()) + if hasattr(self, 'chk'): + s.setValue('quickop/nobackup', self.chk.isChecked())   QDialog.reject(self)