diff --git a/flo2d/flo2d.py b/flo2d/flo2d.py index 4e4568e0..c390f991 100644 --- a/flo2d/flo2d.py +++ b/flo2d/flo2d.py @@ -3461,7 +3461,7 @@ def import_from_ras(self): QApplication.setOverrideCursor(Qt.WaitCursor) try: dlg.import_geometry() - self.setup_dock_widgets() + # self.setup_dock_widgets() self.uc.bar_info("HEC-RAS geometry data imported!") except Exception as e: self.uc.log_info(traceback.format_exc()) diff --git a/flo2d/gui/xs_editor_widget.py b/flo2d/gui/xs_editor_widget.py index 25ba8948..58654fe9 100644 --- a/flo2d/gui/xs_editor_widget.py +++ b/flo2d/gui/xs_editor_widget.py @@ -167,7 +167,7 @@ def __init__(self, iface, plot, table, lyrs): self.user_xs_lyr.geometryChanged.connect(self.xs_feature_changed) self.user_xs_lyr.attributeValueChanged.connect(self.xs_feature_changed) - self.user_xs_lyr.editingStopped.connect(lambda: self.populate_xsec_cbo(show_last_edited=True)) + self.user_xs_lyr.afterCommitChanges.connect(lambda: self.populate_xsec_cbo(show_last_edited=True)) self.user_xs_lyr.selectionChanged.connect(self.switch2selected) def setup_connection(self): @@ -760,7 +760,9 @@ def schematize_channels(self): " * Each User Left Bank line has at least 2 cross sections\n" " crossing it.\n\n" " * All cross sections associated to a User Left Bank line\n" - " intersects (crossover) it." + " intersects (crossover) it.\n\n" + " * Two or more cross sections cannot start/end \n" + " on the same cell." "\n_________________________________________________", e, )