Split reach: not displaying the first and the last reach in the combobox

new_design_pol
Dylan Jeannin 2026-08-31 10:28:45 +02:00
parent 68e4dfb598
commit b503e54210
1 changed files with 4 additions and 1 deletions

View File

@ -74,7 +74,10 @@ class SelectProfileDialog(PamhyrDialog):
list( list(
map( map(
lambda p: p.display_name(), lambda p: p.display_name(),
self._profiles))) self._reach.reach.profiles[1:-1]
)
)
)
if len(self._profiles) == 0: if len(self._profiles) == 0:
self.find(QDialogButtonBox, "buttonBox")\ self.find(QDialogButtonBox, "buttonBox")\