summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2026-08-07 19:31:36 +1200
committerScott Mansell <phiren@gmail.com>2026-08-08 13:18:32 +1200
commita6cf98332b209a89273844d9dbaf0eda1f0d60a3 (patch)
tree221e71520f4aea3ef8b0e133b8dff7980ed85112 /Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
parent7de31b291e71931b184d1517705cd70c3b8686f4 (diff)
Fix fallthough in CodeView/MemoryView widgets
This slightly changes the behaviour, but I think this is more correct.
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
index c7a74ee29d..82d1473ee4 100644
--- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp
@@ -1174,7 +1174,9 @@ void CodeViewWidget::keyPressEvent(QKeyEvent* event)
if (event->modifiers() == Qt::ControlModifier)
{
emit ActivateSearch();
+ return;
}
+ [[fallthrough]];
default:
QWidget::keyPressEvent(event);
break;