CPersonalizeGui::addPersonalizedItems() fix digikey shortcut after use Personalize-Menu

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5b58992de2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-11-11 (Tue, 11 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2014-11-11 21:28:03 +01:00
parent 0af6089483
commit 3c8adde139

View File

@@ -940,7 +940,7 @@ void CPersonalizeGui::addPersonalizedItems()
bool add_shortcut = false;
//get shortcut
if (d_key == CRCInput::RC_nokey && fw->active ) //if no icon is defined and item is active, allow to generate a shortcut,
if (fw->active && (d_key == CRCInput::RC_nokey || CRCInput::isNumeric(d_key))) //if RC_nokey or RC_key is digi and item is active, allow to generate a shortcut,
{
add_shortcut = true;
d_key = getShortcut(short_cut);