mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add blank lines
This commit is contained in:
parent
5c2127ec52
commit
7c41a37daa
1 changed files with 2 additions and 0 deletions
|
|
@ -43,12 +43,14 @@ namespace Flow.Launcher
|
|||
App.API.ShowMsgBox(App.API.GetTranslation("emptyShortcut"));
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if key is modified or adding a new one
|
||||
if (((update && originalKey != Key) || !update) && _hotkeyVm.DoesShortcutExist(Key))
|
||||
{
|
||||
App.API.ShowMsgBox(App.API.GetTranslation("duplicateShortcut"));
|
||||
return;
|
||||
}
|
||||
|
||||
DialogResult = !update || originalKey != Key || originalValue != Value;
|
||||
Close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue