LISE-B26 / pylabcontrol

pylabcontrol: Laboratory Equipment Control for Scientific Experiments.
GNU General Public License v3.0
9 stars 9 forks source link

GUI freezes if changing from Instrument to Script tab before confirming instrument change #127

Closed asafira closed 6 years ago

asafira commented 6 years ago

When editing a float or integer value in the "Instrument" tab, you click on the value you want to edit, a textbox overlay appears for you to enter a value, and upon clicking elsewhere or pressing enter, the instrument is properly changed.

Currently, if a text overlay is active (i.e., you are editing a value), and you click on the Script tab, the whole GUI freezes.

Steps to reproduce:

1) Go to instruments tab, highlight a value to change a float or integer. (In my case, I highlighted the current height of the SMC motor to copy/paste for later use) 2) Click on "script" before exiting the textbox.

Note that no errors appear on the console.

asafira commented 6 years ago

I got this one wrong --- it was actually the fault of the SMC motor. I'll add an issue to b26_toolkit for that.