]> git.lyx.org Git - features.git/commit
Submenus now expand even if all items are disabled
authorScott Kostyshak <skostysh@lyx.org>
Fri, 21 Feb 2014 15:26:36 +0000 (10:26 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Mon, 28 Jul 2014 16:59:34 +0000 (12:59 -0400)
commitd449e7e64e1f074fcd9621f3675796cbac9d2656
tree8eb64144591c646f7e5870591f98b5fda95320d0
parentfb05011ad0db2e2c5e557d91f398970d75cf8d15
Submenus now expand even if all items are disabled

As stated in the Apple HIG[1] (via JMarc):

  Ensure that a submenu’s title is undimmed even when all its commands
  are unavailable. As with menu titles, it’s important for users to be
  able to view a submenu’s contents, even if none of them are
  available in the current context.

[1]
https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/AppleHIGuidelines/Menus/Menus.html#//apple_ref/doc/uid/TP30000356-TP6
src/frontends/qt4/Menus.cpp