Skip to content

Commit dbfb039

Browse files
Remove null check for selected shortcut
1 parent e2fcd91 commit dbfb039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/ViewModel/SettingWindowViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ public void DeleteSelectedCustomShortcut()
783783

784784
string deleteWarning = string.Format(
785785
InternationalizationManager.Instance.GetTranslation("deleteCustomShortcutWarning"),
786-
item?.Key, item?.Value);
786+
item.Key, item.Value);
787787
if (MessageBox.Show(deleteWarning, InternationalizationManager.Instance.GetTranslation("delete"),
788788
MessageBoxButton.YesNo) == MessageBoxResult.Yes)
789789
{

0 commit comments

Comments
 (0)