kcjengr / qtpyvcp

QtPyVCP - Qt and Python based Virtual Control Panel framework for LinuxCNC.
https://www.qtpyvcp.com
Other
88 stars 48 forks source link

Stacked Widget - axis_mask rule to change index not sticking #113

Closed joco-nz closed 1 year ago

joco-nz commented 1 year ago

There appears to be a timing processing issue between the rule triggering and the UI loading.

The rule processes correctly with the correct axis count from status:axis_mask. However on PB the test config is 5 axis but only 3 are displayed. The issue being that the default index of the widget is 0 and this loads and clobbers the setting coming from the channel.

Fix applied and tested works.