mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 21:33:12 +00:00
Fix Alt+T -> Alt+V instantly crashes Aseprite without warning (fix #4221)
This commit is contained in:
parent
3f00b3e593
commit
ba9ede873c
@ -323,6 +323,9 @@ void MenuItem::setSubmenu(Menu* menu)
|
||||
|
||||
void MenuItem::openSubmenu()
|
||||
{
|
||||
MenuBaseData* base = get_base(this);
|
||||
if (base && base->is_processing)
|
||||
return;
|
||||
if (auto menu = static_cast<Menu*>(parent()))
|
||||
menu->highlightItem(this, true, true, true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user