diff --git a/oscar/translation.cpp b/oscar/translation.cpp index e9bbc254..ecb4601b 100644 --- a/oscar/translation.cpp +++ b/oscar/translation.cpp @@ -155,7 +155,10 @@ void initTranslations() langsel.connect(&langlist, SIGNAL(itemDoubleClicked(QListWidgetItem*)), &langsel, SLOT(close())); langsel.connect(&lang_okbtn, SIGNAL(clicked()), &langsel, SLOT(close())); + langsel.raise(); + langsel.exec(); + langsel.disconnect(&lang_okbtn, SIGNAL(clicked()), &langsel, SLOT(close())); langsel.disconnect(&langlist, SIGNAL(itemDoubleClicked(QListWidgetItem*)), &langsel, SLOT(close())); language = langlist.currentItem()->data(Qt::UserRole).toString();