@techee commented on this pull request.


>  
        /* 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 or view it on GitHub:
https://github.com/geany/geany/pull/3611#discussion_r1364508947
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3611/review/[email protected]>

Reply via email to