Skip to content

Commit

Permalink
Improve setup of training project
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Sep 8, 2024
1 parent d8dac06 commit 839f570
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lizmap/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5112,10 +5112,12 @@ def check_training_panel(self):
if not user_project:
return

LOGGER.info(f"Remote project '{user_project}', matching the user connected, has been detected on the server")

# Now set, to a short training with the prepared project
self.dlg.send_webdav.setChecked(True)
self.dlg.checkbox_save_project.setChecked(True)
self.dlg.radio_beginner.setChecked(True)
self.dlg.workshop_type.setCurrentWidget(self.dlg.quick_workshop_panel)
LOGGER.info(f"Remote project '{user_project}', matching the user connected, has been detected on the server")

def download_training_data_clicked(self, workshop_type: str = WorkshopType.ZipFile):
""" Download the hard coded ZIP. """
Expand Down

0 comments on commit 839f570

Please sign in to comment.