In order to save config (do config.save_config()), config (which is instance of CoreConfig) must be available in PreferenceDialog(). Honestly, I think config should be available everywhere, and save_config() should be called whenever user pushes "Apply" or "OK", not only when GTG is closed.
In order to save config (do config. save_config( )), config (which is instance of CoreConfig) must be available in PreferenceDialog(). Honestly, I think config should be available everywhere, and save_config() should be called whenever user pushes "Apply" or "OK", not only when GTG is closed.
What do you think?