Combobox change request


#1

 

 

Such a silly little request .... but I can't figure out a good way to get a notification when the textEditor hides, if the text did not change.

 

Basically - I want to trigger an action when the user clicks on a combobox, then hits enter (without changing the text).

I tried watching the keyPresses on the combobox, but it doesn't get them once the textEditor is active.

I also tried listening to the label .. but of course it only sends a change message when the editor CHANGES the text.

So ... I just can't find a good way to do this.  

 

Jules - Any chance you could add an editorHidden (Label *, TextEditor &) method to the Label::Listener ?

 
 


#2

Sure, have added this now - let me know if it doesn't work.