biolab / orange-canvas-core

Orange Canvas core workflow editor
GNU General Public License v3.0
33 stars 60 forks source link

Workflow zoom-in also works with Ctrl+= (forgotten shift) #254

Closed markotoplak closed 1 year ago

markotoplak commented 1 year ago

Modern browsers allow zooming in without pressing shift on US keyboard (Ctrl + + is actually `Ctrl + Shift + =). So we are spoiled.

Qt's docs actually warn about this specific case (and they recommend caution): https://doc.qt.io/qt-5/qkeysequence.html#keyboard-layout-issues

I do not see any problems with allowing Ctrl + = too (do we use it anywhere else?). It does make the code slightly uglier.

If accepted, this fixes biolab/orange3#6240.