Backport "Do not allow to configure separator actions via context menu"
Original commit:
commit 67c59d7bb56e59e9f4fab58a88d2f01e8d8d44a4
Author: Milian Wolff <mail@milianw.de>
Date: Mon Feb 26 14:52:50 2018 +0100
Do not allow to configure separator actions via context menu Summary: It's not useful to add shortcuts for separators, nor to add them to the toolbar. This patch prevents the confusing user interaction. Note that the menu will instead be hidden, just like when you'd left-click on a separator. But I guess this strange behavior should be changed in Qt upstream instead (to keep the menu open).
BACKPORT:krita/4.2
(cherry picked from commit b07b76d03a439ea78ea40439be3a08c641736b95)