fix: Start fixing shortcuts on welcome screen. Breaks certain shortcuts still

This commit is contained in:
WerWolv
2026-01-23 00:07:34 +01:00
parent 96a5a5d34c
commit 810955b1be
4 changed files with 46 additions and 19 deletions

View File

@@ -373,7 +373,7 @@ for (const auto &path : m_paths) {
if (const auto &shortcut = ShortcutManager::getPreviousShortcut(); shortcut.has_value()) {
auto keys = m_shortcut.getKeys();
std::erase_if(keys, [](Key key) {
return key != AllowWhileTyping && key != CurrentView;
return key != AllowWhileTyping && key != CurrentView && key != ShowOnWelcomeScreen;
});
for (const auto &key : shortcut->getKeys()) {