corregido bug cuando YACReader estaba always on top y se detectaba una nueva versi?n

This commit is contained in:
Luis Ángel San Martín 2013-06-02 09:52:36 +02:00
parent 2be9ffe8c2
commit 2e022bd18e

View File

@ -628,6 +628,8 @@ void MainWindowViewer::newVersion()
msgBox.setInformativeText(tr("Do you want to download the new version?"));
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
msgBox.setDefaultButton(QMessageBox::Yes);
msgBox.setWindowFlags(Qt::WindowStaysOnTopHint);
msgBox.setModal(true);
int ret = msgBox.exec();
if(ret==QMessageBox::Yes){