Qt: remove "Search [______]" from Help menu
Prevent Qt from inserting an extra entry in the Help dropdown menu displayed in the menu bar across the top of the screen when nethack has focus. "Search [______]" lets the user enter a string to search for but doesn't give nethack any control over that so we can't have it. I haven't found a sane way to get rid of it. The insane way of not naming any menu "Help" works. This uses "\177Help" so that it still looks like "Help" but won't match that string.
This commit is contained in:
@@ -26,12 +26,6 @@ around by giving focus to some other application (which will put up
|
||||
its own menu bar) and then back to nethack (thereby reloading nethack's
|
||||
menu bar).
|
||||
|
||||
On OSX, a "Search [______]" action is inserted as the first entry of
|
||||
the dropdown Help menu on the toolbar. NetHack has no control over
|
||||
what it does or where it looks, so it should be eliminated somehow.
|
||||
(It is not releated to nethack's search command, nor the interception
|
||||
of an attempt to insert "Search" into the dropdown Action menu.)
|
||||
|
||||
Sometimes scrolling a menu leaves the displayed text not matching what
|
||||
nethack thinks is displayed, so making a selection by mouse click may
|
||||
occasionally pick the wrong item. There's usually a visual clue when
|
||||
|
||||
Reference in New Issue
Block a user