Fix fallthough in CodeView/MemoryView widgets

This slightly changes the behaviour, but I think this is more correct.
This commit is contained in:
Scott Mansell committed 2026-08-08 13:18:32 +12:00
1 parent 7de31b291e
commit a6cf98332b
2 files changed
+4

No files matched your search

@@ -1174,7 +1174,9 @@ void CodeViewWidget::keyPressEvent(QKeyEvent* event)
if (event->modifiers() == Qt::ControlModifier)
{
emit ActivateSearch();
return;
}
[[fallthrough]];
default:
QWidget::keyPressEvent(event);
break;
@@ -126,7 +126,9 @@ public:
if (event->modifiers() == Qt::ControlModifier)
{
m_view->TriggerActivateSearch();
return;
}
[[fallthrough]];
default:
QWidget::keyPressEvent(event);
return;