Qt menu fix

Noticed when working on the add_menu() crash earlier, using a mouse
rather than the keyboard to pick an entry in the sub-sub menus for
'm O' -> 'disclose' -> {any disclosure category} didn't work properly.
The problem was in post-3.6.x menu code for the Qt interface.
This commit is contained in:
PatR
2023-04-21 00:44:50 -07:00
parent 889b437775
commit 71decafefd
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -42,7 +42,8 @@ public:
virtual void EndMenu(const QString& prompt);
virtual int SelectMenu(int how, MENU_ITEM_P **menu_list);
virtual void ClipAround(int x, int y);
virtual void PrintGlyph(int x, int y, const glyph_info *glyphinfo, const glyph_info *bkglyphinfo);
virtual void PrintGlyph(int x, int y, const glyph_info *glyphinfo,
const glyph_info *bkglyphinfo);
virtual void UseRIP(int how, time_t when);
int nhid;