SpaceGroupUCL / depthmapX

depthmapX is a multi-platform Spatial Network Analysis Software
197 stars 52 forks source link

Fixed UI main toolbar button bug #349

Closed worxed closed 4 years ago

worxed commented 4 years ago

If applied, this pull request fixes the Main Toolbar UI elements that when a file is opened, the current selected tools (move, pan, zoom) kept defaulting to the "Select tool" OnEditSelect() if a new file was opened. The selected tool is carried over only visually.

This was fixed in: switch(m_selected_mapbar_item) in main.cpp

pklampros commented 4 years ago

Thanks! LGTM