ui.gadgets.buttons: don't show 'Shortcut' message if there is a gesture but its not a key gesture

db4
Slava Pestov 2009-09-23 22:50:52 -05:00
parent cceae875ad
commit d662acb299
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ PRIVATE>
'[ _ _ invoke-command ] ;
: gesture>tooltip ( gesture -- str/f )
dup [ gesture>string "Shortcut: " prepend ] when ;
gesture>string dup [ "Shortcut: " prepend ] when ;
: <command-button> ( target gesture command -- button )
swapd [ command-name swap ] keep command-button-quot