mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Start fixing shortcuts on welcome screen. Breaks certain shortcuts still
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user