Keymaps: add select with left / right option to quick setup splash screen.
This commit is contained in:
@@ -2566,7 +2566,11 @@ class WM_MT_splash(Menu):
|
|||||||
bl_label = "Splash"
|
bl_label = "Splash"
|
||||||
|
|
||||||
def draw_setup(self, context):
|
def draw_setup(self, context):
|
||||||
|
wm = context.window_manager
|
||||||
|
userpref = context.user_preferences
|
||||||
|
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
|
||||||
layout.operator_context = 'EXEC_DEFAULT'
|
layout.operator_context = 'EXEC_DEFAULT'
|
||||||
|
|
||||||
layout.label(text="Quick Setup")
|
layout.label(text="Quick Setup")
|
||||||
@@ -2578,11 +2582,15 @@ class WM_MT_splash(Menu):
|
|||||||
col = split.column()
|
col = split.column()
|
||||||
|
|
||||||
sub = col.column(align=True)
|
sub = col.column(align=True)
|
||||||
sub.label(text="Input and Shortcuts:")
|
sub.label(text="Shortcuts:")
|
||||||
text = bpy.path.display_name(context.window_manager.keyconfigs.active.name)
|
text = bpy.path.display_name(wm.keyconfigs.active.name)
|
||||||
if not text:
|
if not text:
|
||||||
text = "Blender (default)"
|
text = "Blender"
|
||||||
sub.menu("USERPREF_MT_appconfigs", text=text)
|
sub.menu("USERPREF_MT_keyconfigs", text=text)
|
||||||
|
|
||||||
|
split = col.split()
|
||||||
|
split.label(text="Select With:")
|
||||||
|
split.row().prop(userpref.inputs, 'select_mouse', expand=True)
|
||||||
|
|
||||||
col.separator()
|
col.separator()
|
||||||
|
|
||||||
@@ -2599,8 +2607,6 @@ class WM_MT_splash(Menu):
|
|||||||
#userpref = context.user_preferences
|
#userpref = context.user_preferences
|
||||||
#sub.prop(userpref.system, "language", text="")
|
#sub.prop(userpref.system, "language", text="")
|
||||||
|
|
||||||
col.label()
|
|
||||||
|
|
||||||
layout.label()
|
layout.label()
|
||||||
|
|
||||||
row = layout.row()
|
row = layout.row()
|
||||||
|
|||||||
Reference in New Issue
Block a user