Skip to content

Commit

Permalink
Disable saving of last project location for project imports
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Sep 11, 2024
1 parent 1bdc73c commit 2ceb0c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webview/newProjectPanel.mts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,9 @@ export class NewProjectPanel {
if (newLoc && newLoc[0]) {
// overwrite preview folderUri
this._projectRoot = newLoc[0];
await this._settings.setLastProjectRoot(newLoc[0]);
if (!this._isProjectImport) {
await this._settings.setLastProjectRoot(newLoc[0]);
}

// update webview
await this._panel.webview.postMessage({
Expand Down

0 comments on commit 2ceb0c3

Please sign in to comment.