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
Buttons are backed by a bool value that are set to true when the button is clicked. However, the application must set it back to false to make it a click-button, i.e. in the listener:
bool value;
stateElement->getValue<bool>( value );
if( value ) {
// do stuff...
m_model->updateElement( stateElement->getKey(), false );
}
and this has to be repeated for all click-buttons.
Avoiding this clutter in the job-code would be nice.
The text was updated successfully, but these errors were encountered:
Buttons are backed by a bool value that are set to true when the button is clicked. However, the application must set it back to false to make it a click-button, i.e. in the listener:
and this has to be repeated for all click-buttons.
Avoiding this clutter in the job-code would be nice.
The text was updated successfully, but these errors were encountered: