[PyQt] problem setting multiple shortcuts for QAction

Wilo Denja wilo108 at gmail.com
Tue Jul 8 18:36:38 BST 2014


On Tue, 2014-07-08 at 15:44 +0100, Baz Walter wrote:
> On 07/07/14 18:58, Wilo Denja wrote:
> > zoom_in_action = QtWidgets.QAction('Increase Text Size', self)
> > zoom_in_action.setShortcuts(['Ctrl++', 'Crtl+='])
> >
> >
> > It should work this way, shouldn't it?  Should I file a bug?  Is there a
> > workaround, perhaps?
> 
> You should file a bug with the person who wrote that code, because it 
> seems they don't always spell "Ctrl" correctly...

Oh my giddy aunt, thank you.  With shamefaced apologies,

wilo



More information about the PyQt mailing list