mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix uid change when editing uwp sources
This commit is contained in:
parent
134870815a
commit
70b0e3bc2c
1 changed files with 7 additions and 3 deletions
|
|
@ -73,10 +73,14 @@ namespace Flow.Launcher.Plugin.Program
|
|||
}
|
||||
else
|
||||
{
|
||||
modified = _editing.Location != path || _editing.Enabled != Chkbox.IsChecked;
|
||||
if (modified)
|
||||
if (!_editing.Location.Equals(path, System.StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
_editing.Location = path;
|
||||
modified = true;
|
||||
_editing.Location = path; // Changes UniqueIdentifier internally
|
||||
}
|
||||
if (_editing.Enabled != Chkbox.IsChecked)
|
||||
{
|
||||
modified = true;
|
||||
_editing.Enabled = Chkbox.IsChecked ?? true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue