diff --git a/Orange/canvas/application/canvasmain.py b/Orange/canvas/application/canvasmain.py index 8f1091dca72..a01afc0600b 100644 --- a/Orange/canvas/application/canvasmain.py +++ b/Orange/canvas/application/canvasmain.py @@ -1170,6 +1170,8 @@ def save_scheme_as(self): document = self.current_document() curr_scheme = document.scheme() title = curr_scheme.title or "untitled" + for illegal in r'<>:"\/|?*\0': + title = title.replace(illegal, '_') if document.path(): start_dir = document.path()