diff --git a/RainmeterStudio/Resources/Strings.Designer.cs b/RainmeterStudio/Resources/Strings.Designer.cs index 47a4bb9e..a799170d 100644 --- a/RainmeterStudio/Resources/Strings.Designer.cs +++ b/RainmeterStudio/Resources/Strings.Designer.cs @@ -249,6 +249,15 @@ namespace RainmeterStudio.Resources { } } + /// + /// Looks up a localized string similar to Select project path. + /// + public static string CreateProjectDialog_Browse_Title { + get { + return ResourceManager.GetString("CreateProjectDialog_Browse_Title", resourceCulture); + } + } + /// /// Looks up a localized string similar to Location:. /// @@ -277,7 +286,7 @@ namespace RainmeterStudio.Resources { } /// - /// Looks up a localized string similar to Path:. + /// Looks up a localized string similar to Full path:. /// public static string CreateProjectDialog_Path { get { diff --git a/RainmeterStudio/Resources/Strings.resx b/RainmeterStudio/Resources/Strings.resx index 6bb32b2a..0963ae54 100644 --- a/RainmeterStudio/Resources/Strings.resx +++ b/RainmeterStudio/Resources/Strings.resx @@ -184,7 +184,7 @@ Name: - Path: + Full path: Create directory for project @@ -237,4 +237,7 @@ Empty project + + Select project path + \ No newline at end of file diff --git a/RainmeterStudio/UI/Controller/ProjectController.cs b/RainmeterStudio/UI/Controller/ProjectController.cs index d1577fde..4cf66151 100644 --- a/RainmeterStudio/UI/Controller/ProjectController.cs +++ b/RainmeterStudio/UI/Controller/ProjectController.cs @@ -102,18 +102,12 @@ namespace RainmeterStudio.UI.Controller /// /// Displays the 'create project' dialog and creates a new project /// - public void CreateProject(string name = null, string path = null) + public void CreateProject() { // Create dialog var dialog = new CreateProjectDialog(this); dialog.Owner = OwnerWindow; - if (name != null) - dialog.Name = name; - - if (path != null) - dialog.SelectedPath = path; - // Display bool? res = dialog.ShowDialog(); if (!res.HasValue || !res.Value) diff --git a/RainmeterStudio/UI/Dialogs/CreateProjectDialog.xaml b/RainmeterStudio/UI/Dialogs/CreateProjectDialog.xaml index 27efe9ff..d716f816 100644 --- a/RainmeterStudio/UI/Dialogs/CreateProjectDialog.xaml +++ b/RainmeterStudio/UI/Dialogs/CreateProjectDialog.xaml @@ -59,23 +59,21 @@ -