mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 12:55:44 +03:00
Merge pull request #2620 from nextcloud/fix_crash_when_displaying_share_dialog
Make sure the settings dialog exist before hiding it
This commit is contained in:
commit
3ffc699058
1 changed files with 3 additions and 1 deletions
|
@ -658,7 +658,9 @@ void ownCloudGui::slotShowShareDialog(const QString &sharePath, const QString &l
|
|||
}
|
||||
|
||||
// For https://github.com/owncloud/client/issues/3783
|
||||
_settingsDialog->hide();
|
||||
if (_settingsDialog) {
|
||||
_settingsDialog->hide();
|
||||
}
|
||||
|
||||
const auto accountState = folder->accountState();
|
||||
|
||||
|
|
Loading…
Reference in a new issue