From 561c3681526a1f75f227e1b78b29afd145fbb44a Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Thu, 27 Jun 2024 10:51:31 +0200 Subject: [PATCH] Fix loading of the plugin if no webdav is available fix #584 --- lizmap/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lizmap/plugin.py b/lizmap/plugin.py index d7c926f5..e9cf1587 100755 --- a/lizmap/plugin.py +++ b/lizmap/plugin.py @@ -1172,8 +1172,6 @@ def check_webdav(self): """ Check if we can enable or the webdav, according to the current selected server. """ # I hope temporary, to force the version displayed self.dlg.refresh_helper_target_version(self.current_lwc_version()) - self.webdav.config_project() - # LOGGER.critical(type(self.webdav)) def disable_upload_panel(): self.dlg.mOptionsListWidget.item(Panels.Upload).setHidden(True) @@ -1195,6 +1193,8 @@ def disable_upload_panel(): # LOGGER.critical("RETURN 1") return + self.webdav.config_project() + # The dialog is already given. # We can check if WebDAV is supported. # LOGGER.critical("Second check : {}".format(self.webdav.setup_webdav_dialog()))