mirror of https://github.com/aseprite/aseprite.git
Fix condition to filter out items for Command/Action key lists (#4894)
I introduced this bug when amended ff0dfb8331
This commit is contained in:
parent
ff0dfb8331
commit
2aa0f3be51
|
|
@ -584,8 +584,9 @@ private:
|
|||
|
||||
// Fill the 'Commands' and 'Action Modifier' lists
|
||||
for (const KeyPtr& key : m_keys) {
|
||||
if ((key->type() == KeyType::Command && !key->isCommandListed()) &&
|
||||
(key->type() != KeyType::Action)) {
|
||||
// If it's not a listed Command or Action key, we go to the next key...
|
||||
if (!((key->type() == KeyType::Command && key->isCommandListed()) ||
|
||||
(key->type() == KeyType::Action))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue