diff options
-rw-r--r-- | pulsecaster/ui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pulsecaster/ui.py b/pulsecaster/ui.py index f657acf..17d5935 100644 --- a/pulsecaster/ui.py +++ b/pulsecaster/ui.py @@ -255,6 +255,8 @@ class PulseCasterUI: def updateFileSinkPath(self, *args): self.filesinkpath = self.file_chooser.get_filename() + if not self.filesinkpath: + return self.hideFileChooser() if os.path.lexists(self.filesinkpath): if not self._confirm_overwrite(): |