From dfd9d38ae6073f446dd4d3ad66be0d17ba9b900f Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Sat, 6 Aug 2022 19:35:44 +0200 Subject: [PATCH] Allow multiple selection in the city screen unit lists It allows for much faster operation than dealing with each unit individually (for instance, upgrading all units of a certain type). Multiple selection uses the OS' standard shortcuts and also accepts dragging the mouse over multiple units to select them all. Closes #805. --- client/citydlg.ui | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/client/citydlg.ui b/client/citydlg.ui index 2e72f61ba6..4f88958470 100644 --- a/client/citydlg.ui +++ b/client/citydlg.ui @@ -531,7 +531,7 @@ 0 0 16 - 90 + 83 @@ -567,6 +567,9 @@ 0 + + QAbstractItemView::ExtendedSelection + QListView::LeftToRight @@ -644,8 +647,8 @@ 0 0 - 194 - 197 + 139 + 150 @@ -822,6 +825,9 @@ 0 + + QAbstractItemView::ExtendedSelection + QListView::LeftToRight