Diffusion Krita c6506bb9af65

Do not crash when opening the palette with a keyboard shortcut

Authored by rempt on Nov 21 2017, 9:05 AM.

Description

Do not crash when opening the palette with a keyboard shortcut

When an action is triggered by a keyboard event, the event
passed is 0:

retval = tryRunSingleActionShortcutImpl(key, (QEvent*)0, m_d->keys);

So we need to check whether the event is valid.

BUG:381923

Details

Committed
remptNov 21 2017, 9:05 AM
Parents
R37:882d1dc98cfd: Implement cloning the artistic text shape
Branches
Unknown
Tags
Unknown