13
0

Consistent "cancel/close" button position on the left.

"Add and Close" is an odd one out and this button should really be
removed for consistency. Still it allows for a 2-click or
2-keyboard-shortcut very common action.
This commit is contained in:
Robin Gareus 2017-06-12 12:48:53 +02:00
parent c69049a853
commit 8faf07bd6c

View File

@ -194,8 +194,8 @@ AddRouteDialog::AddRouteDialog ()
this dialog is shown, via ::on_show()
*/
add_button (_("Add"), Add);
add_button (_("Add and Close"), AddAndClose);
add_button (_("Add"), Add);
set_response_sensitive (AddAndClose, true);
set_default_response (AddAndClose);