Re: [Qgis-developer] Python and keyboard shortcuts

2016-09-02 Thread Richard Duivenvoorde
On 02-09-16 13:57, Casper Børgesen (CABO) wrote: > Does anyone have a clue as to what could be wrong? Not exactly, but I know these lines: https://github.com/anitagraser/TimeManager/blob/master/timemanagerguicontrol.py#L122-L124 are working for me to show the settings dialog of TimeManager plug

[Qgis-developer] Python and keyboard shortcuts

2016-09-02 Thread CABO
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: