#1 fix crash on saving configuration

open
nobody
None
5
2012-07-25
2012-07-25
No

When Holyspirit can't write to the configuration (configuration.conf, key_mapping.conf) on exit it crashes.
see: https://sourceforge.net/tracker/?func=detail&aid=3548046&group_id=212674&atid=1022673

This patch catches the exception from configuration->Sauvegarder() in main, prints it as a warning and continues.

Patched for revision 2381 of trunk and tested on Arch Linux.

Discussion

  • catch exception in configuration->Sauvegarder()

     
    Attachments