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>
This commit is contained in:
Dirk Hohndel 2018-09-21 16:09:16 -07:00
parent 413b05ab89
commit 0d7c1e9918

View file

@ -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>