fix warning in hotkey help dialog when disabled hotkey is processed
This commit is contained in:
parent
ef3da31cd9
commit
7d272e5c04
|
@ -39,6 +39,7 @@ class Backend extends Handler {
|
||||||
|
|
||||||
foreach ($hotkeys as $action => $description) {
|
foreach ($hotkeys as $action => $description) {
|
||||||
|
|
||||||
|
if (is_array($omap[$action])) {
|
||||||
foreach ($omap[$action] as $sequence) {
|
foreach ($omap[$action] as $sequence) {
|
||||||
if (strpos($sequence, "|") !== FALSE) {
|
if (strpos($sequence, "|") !== FALSE) {
|
||||||
$sequence = substr($sequence,
|
$sequence = substr($sequence,
|
||||||
|
@ -50,7 +51,7 @@ class Backend extends Handler {
|
||||||
print "<span class='hksequence'>$sequence</span>";
|
print "<span class='hksequence'>$sequence</span>";
|
||||||
print $description;
|
print $description;
|
||||||
print "</li>";
|
print "</li>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue