diff --git a/CHANGELOG.md b/CHANGELOG.md index e2efc76aa7..c4afd4a86c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [9.3.1] - Unreleased +- Fix bug with "New Project" project creation dialog entry + ## [9.3.0] - 2026-08-13 - Add Extraction Name to Catalogues - Improve SQL Extraction Merge diff --git a/Rdmp.UI/SimpleDialogs/Cohorts/CohortCommitProjectSelectionUI.cs b/Rdmp.UI/SimpleDialogs/Cohorts/CohortCommitProjectSelectionUI.cs index 6f8c8f4e73..2c93cbdd7d 100644 --- a/Rdmp.UI/SimpleDialogs/Cohorts/CohortCommitProjectSelectionUI.cs +++ b/Rdmp.UI/SimpleDialogs/Cohorts/CohortCommitProjectSelectionUI.cs @@ -34,8 +34,10 @@ public CohortCommitProjectSelectionUI(IActivateItems activator, IProject current _currentProject = currentProject; _projects = projects; _cic = cic; + System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip(); if (_currentProject != null) { + ToolTip1.SetToolTip(this.btnCurrentProject, _currentProject.Name); btnCurrentProject.Text = $"This Project ({_currentProject.Name.Substring(0, Math.Min(10, _currentProject.Name.Length))}{(_currentProject.Name.Length > 0 ? "..." : "")})"; } else @@ -100,6 +102,7 @@ private void btnNewProject_Click(object sender, EventArgs e) var result = dialog.ShowDialog(); if (result == DialogResult.OK) { + project.SaveToDatabase(); _cic.RootCohortAggregateContainer.GetAllAggregateConfigurationsRecursively().Select(ac => ac.Catalogue).Distinct().Where(c => c.IsProjectSpecific(_activator.RepositoryLocator.DataExportRepository)).ToList().ForEach(c => { @@ -112,6 +115,10 @@ private void btnNewProject_Click(object sender, EventArgs e) Result = project; Close(); } + else + { + project.DeleteInDatabase(); + } } private void btnExistingProject_Click(object sender, EventArgs e) { diff --git a/SharedAssemblyInfo.cs b/SharedAssemblyInfo.cs index a6c36417b2..a7834a36eb 100644 --- a/SharedAssemblyInfo.cs +++ b/SharedAssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: AssemblyVersion("9.3.0")] -[assembly: AssemblyFileVersion("9.3.0")] -[assembly: AssemblyInformationalVersion("9.3.0")] +[assembly: AssemblyVersion("9.3.1")] +[assembly: AssemblyFileVersion("9.3.1")] +[assembly: AssemblyInformationalVersion("9.3.1")]