mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-01-31 01:25:38 -05:00
Fix hang when moving window during refresh
This commit is contained in:
@@ -36,6 +36,9 @@ public static class SettingsStore
|
||||
// Try to get the setting from the database that matches the name and version
|
||||
var setting = entities.Settings.FirstOrDefault(s => s.Name == name);
|
||||
|
||||
if (setting?.Value == value)
|
||||
return;
|
||||
|
||||
entities.SaveChanges(() =>
|
||||
{
|
||||
// If there was no setting we need to create it
|
||||
|
||||
Reference in New Issue
Block a user