새 프로젝트 생성 에러 수정
This commit is contained in:
@@ -37,6 +37,9 @@ namespace Studio.UI
|
|||||||
{
|
{
|
||||||
var paths = StandaloneFileBrowser.OpenFolderPanel("Select Folder", "", false);
|
var paths = StandaloneFileBrowser.OpenFolderPanel("Select Folder", "", false);
|
||||||
|
|
||||||
|
if (paths == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (paths.Count > 0 && !string.IsNullOrEmpty(paths[0].Name))
|
if (paths.Count > 0 && !string.IsNullOrEmpty(paths[0].Name))
|
||||||
{
|
{
|
||||||
var path = Path.GetDirectoryName(paths[0].Name);
|
var path = Path.GetDirectoryName(paths[0].Name);
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ namespace Studio.UI
|
|||||||
{
|
{
|
||||||
var paths = StandaloneFileBrowser.OpenFolderPanel("Select Folder", "", false);
|
var paths = StandaloneFileBrowser.OpenFolderPanel("Select Folder", "", false);
|
||||||
|
|
||||||
|
if (paths == null)
|
||||||
|
return;
|
||||||
|
|
||||||
if (paths.Count > 0 && !string.IsNullOrEmpty(paths[0].Name))
|
if (paths.Count > 0 && !string.IsNullOrEmpty(paths[0].Name))
|
||||||
{
|
{
|
||||||
var path = Path.GetDirectoryName(paths[0].Name);
|
var path = Path.GetDirectoryName(paths[0].Name);
|
||||||
|
|||||||
Reference in New Issue
Block a user