Skip to content

Commit

Permalink
Fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierCLL committed Sep 19, 2024
1 parent b18193e commit 7f9717d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/response_design_view_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def __init__(self, parent=None):
self.id = None
self.is_active = False
self.current_scale_factor = 1.0
self.qgs_main_canvas = iface.mapCanvas()
self.qgs_main_canvas = iface.mapCanvas() if iface is not None else None
self.setupUi(self)
# init as unactivated render widget for new instances
self.disable()
Expand Down

0 comments on commit 7f9717d

Please sign in to comment.