SL: Minor fixes.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-07-25 16:53:37 +02:00
1 parent b0810f6eed
commit bccbc41fe8
2 files changed
+9 -1

No files matched your search

@@ -46,6 +46,9 @@ class SLDialog(ASubWindow, ListedSubWindow):
@property
def sl(self):
if self.value == _translate("SedimentLayers", "Not defined"):
return None
return next(
filter(
lambda sl: str(sl) == self.value,