diff --git a/xdsl/interactive/app.py b/xdsl/interactive/app.py index dfbda43d0e..3e191125aa 100644 --- a/xdsl/interactive/app.py +++ b/xdsl/interactive/app.py @@ -190,6 +190,7 @@ def update_current_module(self) -> None: """ input_text = self.input_text_area.text if (input_text) == "": + self.current_module = None return try: ctx = MLContext(True)