Skip to content

fix: return early if no project directory is open - #642

Open
tejasai2007 wants to merge 1 commit into
FOSSEE:masterfrom
tejasai2007:fix/issue-493-cancel-error
Open

fix: return early if no project directory is open#642
tejasai2007 wants to merge 1 commit into
FOSSEE:masterfrom
tejasai2007:fix/issue-493-cancel-error

Conversation

@tejasai2007

Copy link
Copy Markdown

Related Issues

Issue 493

Purpose

When clicking open file and cancelling without opening a file, an error was thrown instead of closing silently.

Approach

Added a check to verify if a file is opened, returning early if none is selected.

- When clicking open file and cancelling without opening a file, an error was thrown instead of closing silently.
- Added a check to verify if a file is opened, returning early if none is selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant