From 5d49d5ae073cf7fe7baf3b4f6bcffad2197679a1 Mon Sep 17 00:00:00 2001 From: DisableGraphics Date: Tue, 26 Apr 2022 14:36:40 +0200 Subject: [PATCH] Changed open shortcut again --- src/main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index e64e07c..cd76d71 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -600,8 +600,10 @@ bool on_key_pressed(GdkEventKey* event, WebKitWebView * webView, Gtk::HeaderBar case 113: //Left arrow previous_chapter(webView, titleBar); break; - case 32 & 37: //'Ctrl + o' key - open(webView, titleBar); + case 32: //'o' key + if(position > -2){ + open(webView, titleBar); + } break; } return false;