Skip to content

Commit 2ceb0c3

Browse files
committed
Disable saving of last project location for project imports
Signed-off-by: paulober <[email protected]>
1 parent 1bdc73c commit 2ceb0c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/webview/newProjectPanel.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,9 @@ export class NewProjectPanel {
483483
if (newLoc && newLoc[0]) {
484484
// overwrite preview folderUri
485485
this._projectRoot = newLoc[0];
486-
await this._settings.setLastProjectRoot(newLoc[0]);
486+
if (!this._isProjectImport) {
487+
await this._settings.setLastProjectRoot(newLoc[0]);
488+
}
487489

488490
// update webview
489491
await this._panel.webview.postMessage({

0 commit comments

Comments
 (0)