Skip to content

Fixed UI main toolbar button bug#349

Merged
pklampros merged 1 commit intoSpaceGroupUCL:masterfrom
worxed:BUG_ui_fix
Mar 3, 2020
Merged

Fixed UI main toolbar button bug#349
pklampros merged 1 commit intoSpaceGroupUCL:masterfrom
worxed:BUG_ui_fix

Conversation

@worxed
Copy link

@worxed worxed commented Mar 3, 2020

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

Fixed UI element when selected tool is not carried over from the last window it just resets to the default OnEditSelect() tool but keeps the xxButton->setChecked(true)

This was fixed in:
switch(m_selected_mapbar_item) in main.cpp
@worxed worxed changed the title Fixed UI Fixed UI Button Bug Mar 3, 2020
@worxed worxed changed the title Fixed UI Button Bug Fixed UI Main Toolbar Button Bug Mar 3, 2020
@worxed worxed changed the title Fixed UI Main Toolbar Button Bug Fixed UI main toolbar button bug Mar 3, 2020
@pklampros
Copy link
Collaborator

Thanks! LGTM

@pklampros pklampros merged commit 925982b into SpaceGroupUCL:master Mar 3, 2020
pklampros added a commit that referenced this pull request Sep 2, 2020
Fixed UI main toolbar button bug
@pklampros pklampros added this to the 0.8.0 milestone Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants