linz / gazetteer

New Zealand Gazetteer of official place names
http://www.linz.govt.nz/regulatory/place-names/find-name/new-zealand-gazetteer-official-geographic-names/new-zealand-gazetteer-search-place-names#zoom=0&lat=-41.14127&lon=172.5&layers=BTTT
Other
2 stars 2 forks source link

actionNodeTool does not exist #167

Closed SPlanzer closed 3 years ago

SPlanzer commented 3 years ago

the move node tool throws AttributeError: 'QgisInterface' object has no attribute 'actionNodeTool'

This is as per

https://github.com/linz/gazetteer/blob/b739b2a54551763cf3898e86006c8635b79644f7/src/NZGBplugin/Plugin.py#L137-L139

Interestingly the api breakage docs don't mention this one

SPlanzer commented 3 years ago

QGIS3 API docs reference as actionVertexTool. It is assumed this replaces actionNodeTool

virtual QAction* QgisInterface::actionVertexTool() Returns the native "Vertex Tool for All Layers" action.

SPlanzer commented 3 years ago

addressed ( actionVertexTool > actionNodeTool) by PR #170 closing