mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
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:
@@ -940,7 +940,7 @@ void CPersonalizeGui::addPersonalizedItems()
|
|||||||
bool add_shortcut = false;
|
bool add_shortcut = false;
|
||||||
|
|
||||||
//get shortcut
|
//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;
|
add_shortcut = true;
|
||||||
d_key = getShortcut(short_cut);
|
d_key = getShortcut(short_cut);
|
||||||
|
Reference in New Issue
Block a user