From 9560a8de88b61e375b6b72ba545b28c78cbf7066 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 14 Dec 2020 05:49:58 -0800 Subject: [PATCH] Fixed issue manually adding project in same directory as workspace --- IDE/src/IDEApp.bf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index 8a66fea4..dc77daa1 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -2122,6 +2122,8 @@ namespace IDE int lastSlash = relPath.LastIndexOf('/'); if (lastSlash != -1) relPath.RemoveToEnd(lastSlash); + else + relPath.Set("."); /*var endStr = "/BeefProj.toml"; if (relPath.EndsWith(endStr))