summaryrefslogtreecommitdiff
diff options
-rw-r--r--launcher/LauncherController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/LauncherController.cpp b/launcher/LauncherController.cpp
index 5640c6ba2..ef9e47e30 100644
--- a/launcher/LauncherController.cpp
+++ b/launcher/LauncherController.cpp
@@ -555,7 +555,7 @@ void Controller::Impl::SortAndUpdate()
icon->SetShortcut(std::to_string(shortcut % 10)[0]);
++shortcut;
}
- else
+ else if (isdigit(icon->GetShortcut()))
{
// reset shortcut
icon->SetShortcut(0);