Make sure the settings dialog exist before hiding it
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 9 Nov 2020 11:02:15 +0000 (12:02 +0100)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 10 Nov 2020 16:57:56 +0000 (16:57 +0000)
commit95487d8bfcab5eaeafd926eb2878f6d602bffb73
treeaf143ce25b4eb85264de3a2fe8b22a903bfa7192
parent863db075eb30e6d99184a3a7825bae0895b1df32
Make sure the settings dialog exist before hiding it

Because of PR #2580 the settings dialog doesn't always exist. We need to
check for it first before placing calls to it.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/owncloudgui.cpp