aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp4
-rw-r--r--src/Tabs.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 95938c5..9cacfdd 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -6650,11 +6650,11 @@ namespace QuickMedia {
}
if(event.type == mgl::Event::KeyPressed && event.key.alt && (chat_state == ChatState::NAVIGATING || chat_state == ChatState::URL_SELECTION)) {
- if(event.key.code == mgl::Keyboard::Up || (event.key.control && event.key.code == mgl::Keyboard::K)) {
+ if(event.key.code == mgl::Keyboard::Up || event.key.code == mgl::Keyboard::K) {
matrix_chat_page->rooms_page->body->select_previous_item(true);
move_room = true;
goto chat_page_end;
- } else if(event.key.code == mgl::Keyboard::Down || (event.key.control && event.key.code == mgl::Keyboard::J)) {
+ } else if(event.key.code == mgl::Keyboard::Down || event.key.code == mgl::Keyboard::J)) {
matrix_chat_page->rooms_page->body->select_next_item(true);
move_room = true;
goto chat_page_end;
diff --git a/src/Tabs.cpp b/src/Tabs.cpp
index a5c371a..f3c9ee4 100644
--- a/src/Tabs.cpp
+++ b/src/Tabs.cpp
@@ -70,10 +70,10 @@ namespace QuickMedia {
void Tabs::on_event(mgl::Event &event) {
if(event.type == mgl::Event::KeyPressed && event.key.control && !tabs.empty()) {
- bool move_left = (event.key.code == mgl::Keyboard::Left || (event.key.alt && event.key.code == mgl::Keyboard::H));
+ bool move_left = (event.key.code == mgl::Keyboard::Left || (event.key.control && event.key.code == mgl::Keyboard::H));
move_left |= (event.key.code == mgl::Keyboard::Tab && event.key.shift);
- bool move_right = (event.key.code == mgl::Keyboard::Right || (event.key.alt && event.key.code == mgl::Keyboard::L));
+ bool move_right = (event.key.code == mgl::Keyboard::Right || (event.key.control && event.key.code == mgl::Keyboard::L));
move_right |= (event.key.code == mgl::Keyboard::Tab && !event.key.shift);
if(move_left) {