diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 16:19:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-07 08:14:42 +0200 |
commit | 3d056824c687df567c05bf31554fa40ea2baef18 (patch) | |
tree | 45b9617119cc57542f441de6f4d9eaf20f5041ef /dbaccess | |
parent | a927e0964ba0442d53fffb22c577e54bcf183ed7 (diff) |
Revert "lint-ui: check that we only have one has_default==True"
This reverts commit c9e3952e76a9c06d5a1d2f583829ce9eb5b9df64.
Reason for revert: Some of the code manipulates visibility programmatically, and it is quite fine to has more than one has_default if only one of them is visible at a time.
Change-Id: Ia4f565c7d21d232d3038c3489952782c8e2a7be5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103977
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/uiconfig/ui/collectionviewdialog.ui | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dbaccess/uiconfig/ui/collectionviewdialog.ui b/dbaccess/uiconfig/ui/collectionviewdialog.ui index 73302a721fe9..0ffb48584773 100644 --- a/dbaccess/uiconfig/ui/collectionviewdialog.ui +++ b/dbaccess/uiconfig/ui/collectionviewdialog.ui @@ -66,6 +66,7 @@ <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">True</property> <property name="use_stock">True</property> </object> @@ -134,6 +135,7 @@ <property name="can_focus">True</property> <property name="focus_on_click">False</property> <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="collectionviewdialog|newFolderButton|tooltip_text">Create New Directory</property> <property name="image">image1</property> @@ -150,6 +152,7 @@ <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">True</property> <property name="tooltip_text" translatable="yes" context="collectionviewdialog|upButton|tooltip_text">Up One Level</property> <property name="image">image2</property> |