[nostalgia/studio] Add null check for key input to active editor

This commit is contained in:
Gary Talent 2022-05-25 21:19:59 -05:00
parent 0e8d2d7640
commit 2448bdcc82

View File

@ -92,7 +92,9 @@ void StudioUI::handleKeyEvent(core::Key key, bool down) noexcept {
break;
}
}
if (m_activeEditor) {
m_activeEditor->keyStateChanged(key, down);
}
}
void StudioUI::draw() noexcept {