Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Thu, 20 Jun 2024 10:46:20 UTC Commit: 6c1fdf6f8e78512bd43ba2e84169f0321979eebf https://github.com/geany/geany/commit/6c1fdf6f8e78512bd43ba2e84169f0321979ee...
Log Message: ----------- Add an explanation comment
Modified Paths: -------------- src/project.c
Modified: src/project.c 5 lines changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -1100,6 +1100,11 @@ static gboolean load_config(const gchar *filename) /* save current (non-project) session (it could have been changed since program startup) */ if (!main_status.opening_session_files) { + /* Opening another project while some project is already opene causes + * that upon closing the first project, empty session is saved here. + * The check below prevents that but has a side-effect that when + * save_config_on_file_change=FALSE, the session with all closed files + * isn't saved when opening a project. */ if (have_session_docs()) configuration_save_default_session(); /* now close all open files */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).