Hello,

I am trying to setup a keyboard shortcut for a method in my plugin and was 
looking at the following code snippet:

http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/snippets.html#how-to-call-a-method-by-a-key-shortcut

In 2014 dakcarto wrote a similar snippet at GIS.SE:

http://gis.stackexchange.com/a/88795/205

Pressing the assigned key doesn't seem to trigger the method.

For establishing a reference I have looked at the plugin-reloader plugin which 
uses the F5 key to trigger the reload. This doesn't seem to work either. The 
new styling dock by Nathan uses F7 to show/hide, and it works beautifully.

Does anyone have a clue as to what could be wrong?


Regards, Casper
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to