lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] (no subject)


From: Greg Chicares
Subject: [lmi-commits] (no subject)
Date: Wed, 15 Jun 2016 23:33:07 +0000 (UTC)

branch: master
commit 090d19a80e6a7fa115045ea8050fb93e63e5bac6
Author: Gregory W. Chicares <address@hidden>
Date:   Wed Jun 15 23:10:55 2016 +0000

    Save configurable settings if print directory forcibly modified
    
    If the print directory is invalid, then it is forcibly changed to the
    current directory--at startup, as always. That change occurs before the
    "Preferences" dialog is shown, so that dialog showed a valid directory,
    which vanished when lmi was closed because the forcible change was
    evanescent. Therefore, it is made permanent: any such forcible change
    is forcibly saved.
---
 configurable_settings.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configurable_settings.cpp b/configurable_settings.cpp
index 12a791d..5a731e0 100644
--- a/configurable_settings.cpp
+++ b/configurable_settings.cpp
@@ -169,6 +169,7 @@ configurable_settings::configurable_settings()
             << LMI_FLUSH
             ;
         validate_directory(print_directory_, "Fallback print directory");
+        save();
         }
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]