mirror of
https://github.com/YACReader/yacreader
synced 2025-11-12 04:55:21 -05:00
corregido bug cuando YACReader estaba always on top y se detectaba una nueva versi?n
This commit is contained in:
@ -628,6 +628,8 @@ void MainWindowViewer::newVersion()
|
|||||||
msgBox.setInformativeText(tr("Do you want to download the new version?"));
|
msgBox.setInformativeText(tr("Do you want to download the new version?"));
|
||||||
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||||
msgBox.setDefaultButton(QMessageBox::Yes);
|
msgBox.setDefaultButton(QMessageBox::Yes);
|
||||||
|
msgBox.setWindowFlags(Qt::WindowStaysOnTopHint);
|
||||||
|
msgBox.setModal(true);
|
||||||
int ret = msgBox.exec();
|
int ret = msgBox.exec();
|
||||||
|
|
||||||
if(ret==QMessageBox::Yes){
|
if(ret==QMessageBox::Yes){
|
||||||
|
|||||||
Reference in New Issue
Block a user