CMenuWidget: Add function getNextShortcut()/setNextShortcut()

for setting of direktkey in the plugin integration


Origin commit data
------------------
Commit: 940a41aab2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)

Origin message was:
------------------
CMenuWidget: Add function getNextShortcut()/setNextShortcut()

 for setting of direktkey in the plugin integration
This commit is contained in:
Michael Liebmann
2014-10-16 05:13:07 +02:00
parent e54d2c3f88
commit a3b6ca14b9
3 changed files with 8 additions and 1 deletions

View File

@@ -973,8 +973,10 @@ void CPersonalizeGui::addPersonalizedItems()
allow_sep = true;
//generate shortcut for next item
if (add_shortcut)
if (add_shortcut) {
short_cut++;
v_item[i].widget->setNextShortcut(short_cut);
}
}
else if (p_mode == PERSONALIZE_MODE_NOTVISIBLE)
{