From adb23a7133bfa77f3ebd3417c89f898043829123 Mon Sep 17 00:00:00 2001 From: Tomaz Hocevar Date: Mon, 28 Jan 2019 10:50:35 +0100 Subject: [PATCH] Fix the warning about a window title without a placeholder --- Orange/canvas/application/canvasmain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Orange/canvas/application/canvasmain.py b/Orange/canvas/application/canvasmain.py index 4d0cee46caf..500100a80da 100644 --- a/Orange/canvas/application/canvasmain.py +++ b/Orange/canvas/application/canvasmain.py @@ -230,7 +230,7 @@ def setup_ui(self): frame.setWidget(self.scheme_widget) # Window 'title' - self.setWindowFilePath(self.scheme_widget.path()) + self.setWindowFilePath(self.scheme_widget.path() or " ") self.scheme_widget.pathChanged.connect(self.setWindowFilePath) self.scheme_widget.modificationChanged.connect(self.setWindowModified)