Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
TortoiseHg
thg-hgtk
Commits
ef9f13be73ba
Commit
8584636a
authored
Jan 29, 2011
by
Steve Borho
Browse files
quickop: catch up with status widget API changes (closes
#97
)
parent
d1fa1a969b60
Changes
1
Hide whitespace changes
Inline
Side-by-side
tortoisehg/hgqt/quickop.py
View file @
ef9f13be
...
...
@@ -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
()
)
s
elf
.
stwidget
.
saveSettings
(
s
,
'quickop'
)
s
.
setValue
(
'quickop/geom'
,
self
.
saveGeometry
())
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