mirror of https://gitlab.com/pamhyr/pamhyr2
Split reach: not displaying the first and the last reach in the combobox
parent
68e4dfb598
commit
b503e54210
|
|
@ -74,7 +74,10 @@ class SelectProfileDialog(PamhyrDialog):
|
|||
list(
|
||||
map(
|
||||
lambda p: p.display_name(),
|
||||
self._profiles)))
|
||||
self._reach.reach.profiles[1:-1]
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
if len(self._profiles) == 0:
|
||||
self.find(QDialogButtonBox, "buttonBox")\
|
||||
|
|
|
|||
Loading…
Reference in New Issue