mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Split reach: not displaying the first and the last reach in the combobox
This commit is contained in:
1 parent
68e4dfb598
commit
b503e54210
1 file changed
+4
-1
@@ -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")\
|
||||
|
||||
Reference in new issue
Block a user