From: Urban Wallasch Date: Fri, 21 May 2021 16:01:28 +0000 (+0200) Subject: * Apply preferences when saving, as one would expect. X-Git-Tag: v0.3~8 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=f7c1fa257c5f3daea0b2df7c7f9eebf8d3411367;p=ffpreview.git * Apply preferences when saving, as one would expect. --- diff --git a/ffpreview.py b/ffpreview.py index fe13444..6effa62 100755 --- 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)):