Update src/gui/gsc_info_window.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexander Shaduri
2026-03-07 16:18:36 +01:00
committed by GitHub
co-authored by Copilot
parent 3373750d2c
commit b167098a6d
+2 -1
View File
@@ -808,7 +808,8 @@ bool GscInfoWindow::on_delete_event([[maybe_unused]] GdkEventAny* e)
bool GscInfoWindow::on_key_press_event(GdkEventKey* event)
{
// Handle Ctrl+Tab and Ctrl+Shift+Tab for tab navigation
if ((event->state & GDK_CONTROL_MASK) && event->keyval == GDK_KEY_Tab) {
if ( (event->state & GDK_CONTROL_MASK)
&& (event->keyval == GDK_KEY_Tab || event->keyval == GDK_KEY_ISO_Left_Tab)) {
auto* main_notebook = lookup_widget<Gtk::Notebook*>("main_notebook");
if (main_notebook) {
// Check if we're on the Advanced tab with sub-tabs