diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2016-05-17 02:55:41 +0000 |
|---|---|---|
| committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-05-17 02:55:41 +0000 |
| commit | d021f9ba67d9741d7debbb2fcec5b2d63f4295b6 (patch) | |
| tree | f90b4f0a53c870ba162fbe4d15fd1cf0c320ef2b | |
| parent | e1fb045acc8fd5c8f53f0883dfec1fc5c8b0b962 (diff) | |
| parent | 3af37caff72c36f8de225b5d0bec71f0bb0831c4 (diff) | |
Do not reset the shortcut for icons that have their own shortcut. Fixes: #1562847
Approved by: Marco Trevisan (TreviƱo), PS Jenkins bot (bzr r4113)
| -rw-r--r-- | launcher/LauncherController.cpp | 2 |
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); |
