QMessagebox Double Tap Required



  • I'm using Qt 5.3.2 on a BeagleBone Black with a touchscreen interface.

    I'm popping up a message box with two buttons, like so:

    int ret = QMessageBox::warning(this, tr("My Application"), tr("No Sync Detected!\n" "Proceed?"), QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::Ok);
    

    The problem is that it seems to take two taps of a button to get rid of the message box. How can I get it to proceed after just one touch?

    Regards,
    James


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.