Skip to content

Gmoccapy: fix button state when enter setting page from MDI or Auto Mode 2.8#1706

Merged
rene-dev merged 1 commit intoLinuxCNC:2.8from
hansu:gmoccapy-fix-buttonstate-settings-2.8
Aug 8, 2022
Merged

Gmoccapy: fix button state when enter setting page from MDI or Auto Mode 2.8#1706
rene-dev merged 1 commit intoLinuxCNC:2.8from
hansu:gmoccapy-fix-buttonstate-settings-2.8

Conversation

@hansu
Copy link
Copy Markdown
Member

@hansu hansu commented Apr 9, 2022

Like mentioned in #1548 (comment) the MDI and Auto Mode buttons are only disabled when entering the settings page from manual mode. When entering the setup page from the other modes, MDI and Auto mode is clickable.
I am not 100% sure if this is intended, but I think so. Otherwise the else branch in
on_tbtn_setup_toggled() wouldn't make sense if it is allowed to leave the settings page by clicking on a mode button.

@hansu hansu requested a review from gmoccapy April 9, 2022 16:12
@rene-dev rene-dev merged commit 1cb7b55 into LinuxCNC:2.8 Aug 8, 2022
@hansu hansu deleted the gmoccapy-fix-buttonstate-settings-2.8 branch August 15, 2022 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants