Skip to content

Commit 0857433

Browse files
0x5bfayaira2
authored andcommitted
Update
1 parent 9b50a47 commit 0857433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Views/Settings/ActionsPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ GeneralSettingsService.Actions is not null
251251
{
252252
// Remove existing setting
253253
var modifiableCollection = HotKeyCollection.Parse(storedKeys!).ToList();
254-
modifiableCollection.RemoveAll(x => x.RawLabel == item.PreviousHotKey.RawLabel);
254+
modifiableCollection.RemoveAll(x => x.RawLabel == item.PreviousHotKey.RawLabel || x.RawLabel == $"!{SelectedNewShortcutItem.PreviousHotKey.RawLabel}");
255255
modifiedCollection = new(modifiableCollection);
256256

257257
// Remove previous

0 commit comments

Comments
 (0)