Skip to content

Commit

Permalink
* Remove redundant check on explorer visibility. This is already done…
Browse files Browse the repository at this point in the history
… in open_project.
  • Loading branch information
mrclary committed May 27, 2021
1 parent 9e4aae5 commit b4a398f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spyder/plugins/projects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,11 +336,6 @@ def create_new_project(self):
project_type = data.get("project_type", EmptyProject.ID)

if result:
# A project was not open before
if active_project is None:
if self.get_option('visible_if_project_open'):
self.show_explorer()

self._create_project(root_path, project_type_id=project_type)
dlg.close()

Expand Down

0 comments on commit b4a398f

Please sign in to comment.