projects
/
ffpreview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f88be8
)
* Apply preferences when saving, as one would expect.
author
Urban Wallasch
<urban.wallasch@freenet.de>
Fri, 21 May 2021 16:01:28 +0000
(18:01 +0200)
committer
Urban Wallasch
<urban.wallasch@freenet.de>
Fri, 21 May 2021 16:01:28 +0000
(18:01 +0200)
ffpreview.py
patch
|
blob
|
history
diff --git
a/ffpreview.py
b/ffpreview.py
index fe134441b898cc08e420baa3b403ecc418f2aebf..6effa6213986456a20e75e3e323512eb329fe1a8 100755
(executable)
--- a/
ffpreview.py
+++ b/
ffpreview.py
@@
-842,6
+842,7
@@
class cfgDialog(QDialog):
if not fn:
return
eprint(1, 'saving config to:', self.cfg['conffile'])
+ self.apply()
try:
with open(fn) as file:
lines = [line.rstrip() for line in file]
@@
-876,7
+877,6
@@
class cfgDialog(QDialog):
mbox.exec_()
if self.cfg['verbosity'] > 2:
eprint(3, cont)
- self.apply()
def apply(self):
for i in range(len(self.opt)):