wacom: Set combo-topbutton to current value for styli with > 2 buttons
Although the Wacom panel doesn't have explicit support for styli with more than two buttons, it tries to at least allow configuration of the upper and lower buttons. This commit fixes an incorrect conditional which prevents the panel from setting the combo box for the upper switch to the current setting. https://bugzilla.gnome.org/show_bug.cgi?id=790028
This commit is contained in:
parent
3bd808127d
commit
0c65e04b2e
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ cc_wacom_stylus_page_new (CcWacomTool *stylus)
|
|||
|
||||
update_stylus_ui (page, layout);
|
||||
|
||||
if (num_buttons == 2)
|
||||
if (num_buttons >= 2)
|
||||
set_button_mapping_from_gsettings (GTK_COMBO_BOX (WID ("combo-topbutton")),
|
||||
priv->stylus_settings, "secondary-button-action");
|
||||
if (num_buttons >= 1)
|
||||
|
|
Loading…
Add table
Reference in a new issue