keyboard: Fix keyboard shortcut label

The instructions label says:
Press Esc to cancel or Backspace to reset the keyboard shortcut.
but the Backspace key set the shortcut to be empty, and disables the
feature. Reset is achieved clicking the button to the right handside of
the shortcut in the main window, and is only visible when the shortcut
isn't set to the default value.
This commit is contained in:
Bastien Nocera 2019-03-05 14:24:34 +01:00 committed by Georges Basile Stavracas Neto
parent b77a36f98b
commit 07485a1103

View file

@ -65,7 +65,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="wrap">True</property>
<property name="label" translatable="yes">Press Esc to cancel or Backspace to reset the keyboard shortcut.</property>
<property name="label" translatable="yes">Press Esc to cancel or Backspace to disable the keyboard shortcut.</property>
<style>
<class name="dim-label" />
</style>
@ -315,7 +315,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="wrap">True</property>
<property name="label" translatable="yes">Press Esc to cancel or Backspace to reset the keyboard shortcut.</property>
<property name="label" translatable="yes">Press Esc to cancel or Backspace to disable the keyboard shortcut.</property>
<style>
<class name="dim-label" />
</style>