Skip to content

SelectableLabel: disable shortcuts when invisible or no text selected

Marco Martin requested to merge work/mart/disableCopyKey into master

the shortcut will always be registered even if there is no text selected or the control is not visible, which can be problematic because it can steal ctrl+c from other controls

the enabled binding needsto be on the action and not on the MenuItem for the shortcut to be properly disabled

BUG:498867

Merge request reports

Loading