I wrote a function, called by a pushbutton cliocked signal, like this one:
Qt Code:
void frmMain::addElement() myDialog dlg (this); QString result; result = "pippo"; } return result;To copy to clipboard, switch view to plain text mode
When I press on OK pushbutton the dialog don't close itself but It's called/opened another time and when I press on OK pushbutton the second time the dialog close well.
Why?
Bookmarks