diff --git a/I18N Commander/Processor/Version.cs b/I18N Commander/Processor/Version.cs index d6932d2..ff8a151 100644 --- a/I18N Commander/Processor/Version.cs +++ b/I18N Commander/Processor/Version.cs @@ -2,5 +2,5 @@ public static class Version { - public static string Text => $"v0.9.6 (2023-02-15), .NET {Environment.Version}"; + public static string Text => $"v0.9.7 (2023-02-16), .NET {Environment.Version}"; } \ No newline at end of file diff --git a/I18N Commander/UI WinForms/Components/TextElements.cs b/I18N Commander/UI WinForms/Components/TextElements.cs index 2a4b1ef..6bc8535 100644 --- a/I18N Commander/UI WinForms/Components/TextElements.cs +++ b/I18N Commander/UI WinForms/Components/TextElements.cs @@ -222,6 +222,16 @@ public partial class TextElements : UserControl // Reload the text elements: await this.LoadTextElements(); + + // Re-select the text element: + foreach (ListViewItem item in this.listTextElements.Items) + { + if ((int)item.Tag == this.currentTextElement.Id) + { + item.Selected = true; + break; + } + } } private async void listTextElements_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)