diff --git a/SideBar.py b/SideBar.py index c94300d25..e5f6e5ab6 100644 --- a/SideBar.py +++ b/SideBar.py @@ -19,7 +19,9 @@ def get_path(self, paths): return self.window.active_view().file_name() def is_visible(self, paths): - return len(paths) < 2 + if paths: + return len(paths) < 2 + return bool(self.window.active_view().file_name()) @staticmethod def make_dirs_for(filename):