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

Origin commit data
------------------
Commit: 5b58992de2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-11-11 (Tue, 11 Nov 2014)
This commit is contained in:
Jacek Jendrzej
2014-11-11 21:28:03 +01:00
parent cfeb0036dc
commit fd7cdb9af7

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);