enricofer / go2streetview

22 stars 22 forks source link

Shortcuts in QGIS #4

Closed StefPoss closed 9 years ago

StefPoss commented 10 years ago

Hi Enrico,

in the past I created a shortcu file in QGIS so that I can access more quickly to some repetitive tools.

So in the last version I assigned the letter "G" to your tool. It worked fine.

In these 4.0 & 4.1 versions I always get an issue and so I must click on the toolbar to get the tool working :

Traceback (most recent call last): File "C:/Users/Popidou/.qgis2/python/plugins\go2streetview\go2streetview.py", line 327, in StreetviewRun def StreetviewRun(self): AttributeError: 'NoneType' object has no attribute 'mainWindow'

Version de Python : 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

Version de QGIS : 2.2.0-Valmiera Valmiera, c3a2817

enricofer commented 10 years ago

I don't know why but in my system I can't find command reference in shortcuts setting. and qgisWebConnector Too. From v4.0 version the plugin has moved to web menu and I think this is involved in issue.... But I can't imagine why....

StefPoss commented 10 years ago

Well actually I made some things and it works now :

There might be another easier solution than this, but this one works :-)