Commit e37e9bc1 authored by Thomas Haller's avatar Thomas Haller
Browse files

c-e: don't set the Cancel's button in "Add connection" dialog has_default

Previously, when selecting the "Create" button with the keyboard (tab key),
pressing ENTER would still invoke the "Cancel" action.

We either want that ENTER invokes the "Create" action, or that ENTER
invokes the currently selected button (be it "Create" or "Cancel").

This patch changes the UI to do the latter.
parent acdddf89
......@@ -48,7 +48,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment