diff --git a/spyder_notebook/notebookplugin.py b/spyder_notebook/notebookplugin.py index 3a8dd89d..f32d2d2c 100644 --- a/spyder_notebook/notebookplugin.py +++ b/spyder_notebook/notebookplugin.py @@ -376,6 +376,8 @@ def close_client(self, index=None, client=None, save=False): self.tabwidget.removeTab(self.tabwidget.indexOf(client)) self.clients.remove(client) + self.create_welcome_client() + def create_welcome_client(self): """Create a welcome client with some instructions.""" if self.tabwidget.count() == 0: