From a2199d4fc6572b0f220ca34ffe909fcbb3baaa31 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 4 Jun 2026 12:44:59 +0200 Subject: [PATCH] update man --- Lux.UI/Components/Compo/Admin/VocabMan.razor.cs | 4 +++- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Lux.UI/Components/Compo/Admin/VocabMan.razor.cs b/Lux.UI/Components/Compo/Admin/VocabMan.razor.cs index 1df6d41..f00f502 100644 --- a/Lux.UI/Components/Compo/Admin/VocabMan.razor.cs +++ b/Lux.UI/Components/Compo/Admin/VocabMan.razor.cs @@ -49,6 +49,7 @@ namespace Lux.UI.Components.Compo.Admin private int currPage = 1; private VocabolarioModel? editRec = null; + private VocabolarioModel? currRec = null; private bool isLoading = false; private List ListPaged = new(); private int numRecord = 10; @@ -61,6 +62,7 @@ namespace Lux.UI.Components.Compo.Admin private void DoCancel() { + currRec = null; editRec = null; } @@ -70,7 +72,7 @@ namespace Lux.UI.Components.Compo.Admin } private void DoSelect(VocabolarioModel selRec) { - editRec = editRec == null || editRec.Lemma != selRec.Lemma ? selRec : null; + currRec = selRec; } private async Task DoSave() diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt index a146d60..d503d4e 100644 --- a/Resources/VersNum.txt +++ b/Resources/VersNum.txt @@ -1 +1 @@ -1.1.2606.0411 +1.1.2606.0412 diff --git a/Resources/manifest.xml b/Resources/manifest.xml index 717d32f..a51961b 100644 --- a/Resources/manifest.xml +++ b/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.1.2606.0411 + 1.1.2606.0412 http://nexus.steamware.net/repository/SWS/GPW/stable/GPW.UI.zip http://nexus.steamware.net/repository/SWS/GPW/stable/ChangeLog.html false