From cb393055418f5f528da1444044284650ac920a99 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 5 Sep 2020 02:11:16 +0100 Subject: [PATCH 1/2] Fixed: open+save for non-password session --- LoadBookmarksForm.cs | 4 ++++ Properties/AssemblyInfo.cs | 2 +- Properties/Resources.Designer.cs | 2 +- Properties/Resources.resx | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/LoadBookmarksForm.cs b/LoadBookmarksForm.cs index 242cd94..c2dd7c5 100644 --- a/LoadBookmarksForm.cs +++ b/LoadBookmarksForm.cs @@ -115,6 +115,10 @@ namespace bzit.bomg return; } } + else + { + parentForm.SetSessionFile(filename, string.Empty); + } this.IsBusy = true; diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index c7c1090..2025819 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.3.0.030")] +[assembly: AssemblyVersion("0.3.0.031")] [assembly: AssemblyFileVersion("0.1.0.0")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index e2d9c84..f3061dd 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -89,7 +89,7 @@ namespace bzit.bomg.Properties { } /// - /// Looks up a localized string similar to 0.3.0.030 beta. + /// Looks up a localized string similar to 0.3.0.031 beta. /// internal static string app_version { get { diff --git a/Properties/Resources.resx b/Properties/Resources.resx index 281006b..f09ac67 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -128,7 +128,7 @@ Bookmark Manager - 0.3.0.030 beta + 0.3.0.031 beta ..\Resources\2\arrow-down-circle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a From 69cd0f6376188f308ca6566cb3ad3f0da75b0211 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 5 Sep 2020 02:21:15 +0100 Subject: [PATCH 2/2] Fixed: title not updating --- RyzStudio/Windows/Forms/ThreadControl.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/RyzStudio/Windows/Forms/ThreadControl.cs b/RyzStudio/Windows/Forms/ThreadControl.cs index c7ef544..7c92cb8 100644 --- a/RyzStudio/Windows/Forms/ThreadControl.cs +++ b/RyzStudio/Windows/Forms/ThreadControl.cs @@ -508,6 +508,20 @@ namespace RyzStudio.Windows.Forms } } + public static void SetText(ThemedForms.TextBox control, string text) + { + if (control.InvokeRequired) + { + control.Invoke(new MethodInvoker(() => { + control.InnerTextBox.Text = text; + })); + } + else + { + control.InnerTextBox.Text = text; + } + } + public static void SetTopMost(Form control, bool value) { if (control.InvokeRequired)