mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Fixes to not specifying directory
This commit is contained in:
parent
7acc63a12a
commit
503179c245
1 changed files with 12 additions and 0 deletions
|
@ -59,6 +59,18 @@ namespace IDE.ui
|
||||||
Path.GetFileName(projDirectory, projName);
|
Path.GetFileName(projDirectory, projName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (projDirectory.IsEmpty)
|
||||||
|
{
|
||||||
|
projDirectory.Set(projName);
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
{
|
||||||
|
String origDirectory = scope String(projDirectory);
|
||||||
|
projDirectory.Clear();
|
||||||
|
Path.GetAbsolutePath(origDirectory, gApp.mWorkspace.mDir, projDirectory);
|
||||||
|
}
|
||||||
|
|
||||||
bool isNameValid = projName.Length > 0;
|
bool isNameValid = projName.Length > 0;
|
||||||
for (int32 i = 0; i < projName.Length; i++)
|
for (int32 i = 0; i < projName.Length; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue