From: Colin Clark Date: Sun, 18 Apr 2021 09:26:36 +0000 (+0100) Subject: Keep focus on collection window when --list option is used X-Git-Tag: v1.7~136 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=84d6373e98c44bedcd197a6520f12994e6a38985 Keep focus on collection window when --list option is used When the command line option --list is used, do not select files in the files pane. The focus then stays on images in the collection window. --- diff --git a/src/main.c b/src/main.c index b75d4b57..fbf8f2d0 100644 --- a/src/main.c +++ b/src/main.c @@ -1177,11 +1177,12 @@ gint main(gint argc, gchar *argv[]) } /* If the files on the command line are from one folder, select those files + * unless it is a command line collection - then leave focus on collection window */ lw = NULL; layout_valid(&lw); - if (single_dir && command_line->cmd_list) + if (single_dir && command_line->cmd_list && !command_line->startup_command_line_collection) { GList *work; GList *selected;