diff options
author | Scott Petrovic <scottpetrovic@gmail.com> | 2013-12-02 18:23:06 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-12-02 18:32:29 +0400 |
commit | 43d9eb252240fa24e85438f2f28265a1cc8c9847 (patch) | |
tree | 8828b7c87ed036d403904552f331b6c9eaced03a /release/scripts/startup/bl_ui/space_userpref.py | |
parent | d8764ab39d9aa6d1672a5559e097c9c188806007 (diff) |
User Preferences: grey out Mouse Over options if option is unchecked.
Reviewed By: brecht
Differential Revision: http://developer.blender.org/D64
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index e21656c3259..17a3e8bf0b8 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -210,11 +210,15 @@ class USERPREF_PT_interface(Panel): col.label(text="Menus:") col.prop(view, "use_mouse_over_open") - col.label(text="Menu Open Delay:") - col.prop(view, "open_toplevel_delay", text="Top Level") - col.prop(view, "open_sublevel_delay", text="Sub Level") + sub = col.column() + sub.active = view.use_mouse_over_open + + sub.prop(view, "open_toplevel_delay", text="Top Level") + sub.prop(view, "open_sublevel_delay", text="Sub Level") col.separator() + col.separator() + col.separator() col.prop(view, "show_splash") |