Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
This instance will be upgraded to the latest Heptapod 0.20rc on 2021-02-26 at 11:00 UTC+1
Open sidebar
mercurial
TortoiseHg
thg
Commits
792461334b08
Commit
f1dfe9b8
authored
Jan 31, 2011
by
Steve Borho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quickop: keep --nobackup checkbox persistent, default to checked
parent
79af516c11a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tortoisehg/hgqt/quickop.py
tortoisehg/hgqt/quickop.py
+4
-0
No files found.
tortoisehg/hgqt/quickop.py
View file @
79246133
...
...
@@ -100,6 +100,8 @@ class QuickOpDialog(QDialog):
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 @@ 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
())
QDialog
.
reject
(
self
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment