From 93e383a8f8a345959ca3c456321e2850e340522f Mon Sep 17 00:00:00 2001 From: hugomflavio Date: Fri, 22 Mar 2024 17:24:26 -0400 Subject: [PATCH 1/2] allow using enter to select item on main menu (closes #1685) --- client/page_main.ui | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/client/page_main.ui b/client/page_main.ui index 0d6ba061eb..06f596caca 100644 --- a/client/page_main.ui +++ b/client/page_main.ui @@ -49,6 +49,9 @@ Start + + true + true @@ -69,6 +72,9 @@ Quit + + true + true @@ -92,6 +98,9 @@ Options + + true + true @@ -102,6 +111,9 @@ Load + + true + true @@ -112,6 +124,9 @@ Scenario + + true + true @@ -122,6 +137,9 @@ Connect + + true + true @@ -132,6 +150,9 @@ Mods + + true + true @@ -142,6 +163,9 @@ Tutorial + + true + true From 7dff1d725b1e2c2aa77ac2d366864cb5ebe0cd1e Mon Sep 17 00:00:00 2001 From: hugomflavio Date: Fri, 22 Mar 2024 17:33:26 -0400 Subject: [PATCH 2/2] refix #2224 together with this one to avoid conflict (closes #2224) --- client/page_main.ui | 106 ++++++++++++++++++++++---------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/client/page_main.ui b/client/page_main.ui index 06f596caca..84908e1de0 100644 --- a/client/page_main.ui +++ b/client/page_main.ui @@ -44,10 +44,10 @@ 5 - - + + - Start + Tutorial true @@ -57,20 +57,10 @@ - - - - lversion - - - Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing - - - - - + + - Quit + Start true @@ -80,23 +70,10 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - + + - Options + Connect true @@ -132,23 +109,23 @@ - - - - Connect - - - true + + + + Qt::Vertical - - true + + + 20 + 40 + - + - - + + - Mods + Options true @@ -158,10 +135,10 @@ - - + + - Tutorial + Mods true @@ -184,19 +161,42 @@ - - + + + + Quit + + + true + + + true + + + + + - Qt::Vertical + Qt::Horizontal - 20 - 40 + 40 + 20 + + + + lversion + + + Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing + + +