BUG: 385662 canvas input settings: deleting a shortcut is broken; deleting a shortcut if there is none crashes Krita.
ClosedPublic

Authored by vanyossi on Oct 9 2018, 4:23 PM.

Details

Reviewers
dkazakov
Group Reviewers
Krita
Summary

BUG: 385662

canvas input settings: deleting a shortcut is broken; deleting a shortcut if there is none crashes Krita.

Dmitry fixed the crash long ago, unexpected behaviour relates to the issue that we don't allow the user to delete some basic shortcuts for actions.

This patch makes a QMessage when that happens, informing the user that he can't erase the shortcut, he must modify it instead.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
vanyossi created this revision.Oct 9 2018, 4:23 PM
Restricted Application added a reviewer: Krita. · View Herald TranscriptOct 9 2018, 4:23 PM
Restricted Application added a project: Krita. · View Herald Transcript
vanyossi requested review of this revision.Oct 9 2018, 4:23 PM
dkazakov accepted this revision.Oct 10 2018, 9:46 AM
This revision is now accepted and ready to land.Oct 10 2018, 9:46 AM
vanyossi closed this revision.Oct 11 2018, 11:11 AM