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"));
|
App.API.ShowMsgBox(App.API.GetTranslation("emptyShortcut"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if key is modified or adding a new one
|
// Check if key is modified or adding a new one
|
||||||
if (((update && originalKey != Key) || !update) && _hotkeyVm.DoesShortcutExist(Key))
|
if (((update && originalKey != Key) || !update) && _hotkeyVm.DoesShortcutExist(Key))
|
||||||
{
|
{
|
||||||
App.API.ShowMsgBox(App.API.GetTranslation("duplicateShortcut"));
|
App.API.ShowMsgBox(App.API.GetTranslation("duplicateShortcut"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
DialogResult = !update || originalKey != Key || originalValue != Value;
|
DialogResult = !update || originalKey != Key || originalValue != Value;
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue