mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 11:10:44 +00:00
Update language display dialog so it comes to the top of the Windows stack when started.
This commit is contained in:
parent
d57116b1e4
commit
0967b2013e
@ -155,7 +155,10 @@ void initTranslations()
|
|||||||
langsel.connect(&langlist, SIGNAL(itemDoubleClicked(QListWidgetItem*)), &langsel, SLOT(close()));
|
langsel.connect(&langlist, SIGNAL(itemDoubleClicked(QListWidgetItem*)), &langsel, SLOT(close()));
|
||||||
langsel.connect(&lang_okbtn, SIGNAL(clicked()), &langsel, SLOT(close()));
|
langsel.connect(&lang_okbtn, SIGNAL(clicked()), &langsel, SLOT(close()));
|
||||||
|
|
||||||
|
langsel.raise();
|
||||||
|
|
||||||
langsel.exec();
|
langsel.exec();
|
||||||
|
|
||||||
langsel.disconnect(&lang_okbtn, SIGNAL(clicked()), &langsel, SLOT(close()));
|
langsel.disconnect(&lang_okbtn, SIGNAL(clicked()), &langsel, SLOT(close()));
|
||||||
langsel.disconnect(&langlist, SIGNAL(itemDoubleClicked(QListWidgetItem*)), &langsel, SLOT(close()));
|
langsel.disconnect(&langlist, SIGNAL(itemDoubleClicked(QListWidgetItem*)), &langsel, SLOT(close()));
|
||||||
language = langlist.currentItem()->data(Qt::UserRole).toString();
|
language = langlist.currentItem()->data(Qt::UserRole).toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user