You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem with the tag property of the OK button in the processing described in the functions/guifunc/inputgui.m file.
Because the following two different methods are mixed, it may not be possible to detect that the OK button has been pressed. Specifically, the Cleanline plugin does not work with EEGLAB 2024.2.
Using the value of the g.okbut variable as the value of the tag property
The fixed string "ok" is used as the value of the tag property.
In addition, inputgui.m sets the default value of g.okbut to "OK" in the upper case, which can cause problems if you use the value of the g.okbut variable as the value of the tag property.
The Text of the Push Button Object is rewritten in supergui.m with only the first character being uppercase and the second and subsequent characters being lowercase, so the value that was "OK" before the Figure was displayed is "Ok" when the Figure is displayed. Therefore, if you press the OK button and then try to use findobj to retrieve data whose tag property is "OK", you will fail.
EEGLAB version
[2024.2]
The text was updated successfully, but these errors were encountered:
Description
There is a problem with the tag property of the OK button in the processing described in the functions/guifunc/inputgui.m file.
Because the following two different methods are mixed, it may not be possible to detect that the OK button has been pressed. Specifically, the Cleanline plugin does not work with EEGLAB 2024.2.
In addition, inputgui.m sets the default value of g.okbut to "OK" in the upper case, which can cause problems if you use the value of the g.okbut variable as the value of the tag property.
The Text of the Push Button Object is rewritten in supergui.m with only the first character being uppercase and the second and subsequent characters being lowercase, so the value that was "OK" before the Figure was displayed is "Ok" when the Figure is displayed. Therefore, if you press the OK button and then try to use findobj to retrieve data whose tag property is "OK", you will fail.
The text was updated successfully, but these errors were encountered: