I haven't looked at this in a while. Behavior originally intended is to "Actvate and focus" a document. The original inner conditional `if (idx != ...)` prevented both. Also, `gtk_notebook_set_current_page` most likely already performs necessary checks, so additional checks wastes processor cycles to produce incorrect behavior.
-- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1234#issuecomment-2381492560 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/pull/1234/[email protected]>
