diff --git a/src/gui/owncloudgui.cpp b/src/gui/owncloudgui.cpp index 4adaeaa50..494c376bb 100644 --- a/src/gui/owncloudgui.cpp +++ b/src/gui/owncloudgui.cpp @@ -150,7 +150,7 @@ void ownCloudGui::slotOpenSettingsDialog() { // if account is set up, start the configuration wizard. if( !AccountManager::instance()->accounts().isEmpty() ) { - if (_settingsDialog.isNull() || !_settingsDialog->isVisible()) { + if (_settingsDialog.isNull() || QApplication::activeWindow() != _settingsDialog) { slotShowSettings(); } else { _settingsDialog->close();