mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
corregido bug cuando YACReader estaba always on top y se detectaba una nueva versi?n
This commit is contained in:
parent
2be9ffe8c2
commit
2e022bd18e
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user