* Apply preferences when saving, as one would expect.
authorUrban Wallasch <urban.wallasch@freenet.de>
Fri, 21 May 2021 16:01:28 +0000 (18:01 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Fri, 21 May 2021 16:01:28 +0000 (18:01 +0200)
ffpreview.py

index fe134441b898cc08e420baa3b403ecc418f2aebf..6effa6213986456a20e75e3e323512eb329fe1a8 100755 (executable)
@@ -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)):