Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/foraging_gui/Dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2777,8 +2777,12 @@ def _show_project_names(self):
"""show the project names"""
project_names = self.MainWindow._GetApprovedAINDProjectNames()

# adding project names to the project combobox
# Always keep an explicit unset option as the first entry.
placeholder = "No project set"
self.ProjectName.clear()
self.ProjectName.addItem(placeholder)
self.ProjectName.addItems(project_names)
self.ProjectName.setCurrentIndex(0)

def _get_basics(self):
"""get the basic information"""
Expand Down
Loading