I have a QComboxBox presenting a list of choices and I'm connected to the currentIndexChanged signal.
My situation is that when the user makes a selection I respond to the signal by presenting an 'Are you sure?' messages box. If the user selects 'no' I would like to set the combobox back to the last selection - basically cancelling the currentIndexChanged action.
I've looked through the docs and I could only find a validator for the text being entered, not the choice itself. How can I do this?
Bookmarks