Skip to content

Commit

Permalink
minor fix rasetr reclassification widget
Browse files Browse the repository at this point in the history
  • Loading branch information
osundwajeff committed Nov 4, 2024
1 parent 302dd46 commit 47f3387
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions geest/gui/widgets/raster_reclassification_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@ def _add_raster_layer_widgets(self) -> None:
self.raster_button = QToolButton()
self.raster_button.setText("...")
self.raster_button.clicked.connect(self.select_raster)
if self.attributes.get(f"{self.widget_key}_raster_layer", False):
self.raster_line_edit.setText(
self.attributes[f"{self.widget_key}_raster_layer"]
)
if self.attributes.get(f"{self.widget_key}_raster", False):
self.raster_line_edit.setText(self.attributes[f"{self.widget_key}_raster"])
self.raster_layout.addWidget(self.raster_line_edit)
self.raster_layout.addWidget(self.raster_button)
self.main_layout.addLayout(self.raster_layout)
Expand Down

0 comments on commit 47f3387

Please sign in to comment.