diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-09-21 16:09:16 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-23 11:49:30 -0700 |
commit | 0d7c1e99185427ffac1c81e9bfc440ed291cfc6b (patch) | |
tree | ffd7a56462b0c7d236b0c3b243ddfaf9c1c3f8f4 /desktop-widgets/downloadfromdivecomputer.ui | |
parent | 413b05ab89fe51a26c0194f41d3f887c1c428b3f (diff) | |
download | subsurface-0d7c1e99185427ffac1c81e9bfc440ed291cfc6b.tar.gz |
Desktop/remember DCs: avoid highlighted button
On macOS the first of the four DC buttons was highlighted for some reason.
Explicitly setting autoDefault to no solved that problem.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.ui')
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.ui | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.ui b/desktop-widgets/downloadfromdivecomputer.ui index bb72cb0c0..fee199399 100644 --- a/desktop-widgets/downloadfromdivecomputer.ui +++ b/desktop-widgets/downloadfromdivecomputer.ui @@ -155,23 +155,35 @@ </item> <item row="6" column="0"> <layout class="QGridLayout" name="DCGrid"> -<item row="0" column="0"> - <widget class="QPushButton" name="DC1"> - </widget> -</item> -<item row="0" column="1"> - <widget class="QPushButton" name="DC2"> - </widget> -</item> -<item row="1" column="0"> - <widget class="QPushButton" name="DC3"> - </widget> -</item> -<item row="1" column="1"> - <widget class="QPushButton" name="DC4"> - </widget> -</item> -</layout> + <item row="0" column="0"> + <widget class="QPushButton" name="DC1"> + <property name="autoDefault"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="DC2"> + <property name="autoDefault"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="DC3"> + <property name="autoDefault"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QPushButton" name="DC4"> + <property name="autoDefault"> + <bool>false</bool> + </property> + </widget> + </item> + </layout> </item> </layout> </item> |