@techee commented on this pull request.


In src/keyfile.c:

>  
 	/* necessary to set it to TRUE for project session support */
 	main_status.opening_session_files++;
 
-	i = file_prefs.tab_order_ltr ? 0 : (session_files->len - 1);
-	while (TRUE)
+	file_prefs.tab_order_beside = FALSE;
+	file_prefs.tab_order_ltr = TRUE;

Nice! It:

  1. Fixes the issue of the reordered tabs
  2. Also opens a file from the command-line as the last tab which is much more logical than the second tab before
  3. Eliminates some ugly code

The code looks good to me as well.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3611/review/1686101843@github.com>