talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 526c5168c5b00a11441ea38f36a82f83432552a0
parent e0f3a8308d4dcece168a5190b2194abaad981882
Author: Paul <paul@claws-mail.org>
Date:   Fri, 15 Nov 2019 11:54:26 +0000

don't save 'last_opened_folder' value if 'goto_last_folder_on_startup' is not set

Based on patch by Olaf Hering

Diffstat:
Msrc/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -1687,6 +1687,7 @@ static void exit_claws(MainWindow *mainwin) if (prefs_common.last_opened_folder != NULL) g_free(prefs_common.last_opened_folder); prefs_common.last_opened_folder = + !prefs_common.goto_last_folder_on_startup ? NULL : folder_item_get_identifier(item); }