aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-08 00:19:54 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-12-08 00:19:54 +0200
commit3cd59dd3b04168ad91cb1fe51231e9b3ddd74705 (patch)
treeb7431f7fcdf3336a1811140a4e84d3660009d5f1 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs
parent00f7facd947e0e8ce05a43d4f9d036e8f9a6a69e (diff)
downloadTango-3cd59dd3b04168ad91cb1fe51231e9b3ddd74705.tar.gz
Tango-3cd59dd3b04168ad91cb1fe51231e9b3ddd74705.zip
Implemented fast database update detection of RMLL, Hardware Versions & Color Catalogs.
Related Work Items: #1622
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs/ViewModels/MainViewVM.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs/ViewModels/MainViewVM.cs
index 652ad3093..3cc4406d6 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs/ViewModels/MainViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Catalogs/ViewModels/MainViewVM.cs
@@ -305,6 +305,7 @@ namespace Tango.MachineStudio.Catalogs.ViewModels
try
{
IsFree = false;
+ ActiveCatalog.LastUpdated = DateTime.UtcNow;
await _activeCatalogContext.SaveChangesAsync();
await LoadCatalogs();
_notification.ShowInfo("Catalog updated successfully.");