Rename buttons for dive edit

The old names made sense in the initial model (where you'd click on the
edit button to start an edit). The new names seem much more natural given
what we do now.

Also a tiny code cleanup removing a redundant if statement.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-05-19 12:56:27 -07:00
parent a4f243dfac
commit 9ffa37ab6f
3 changed files with 21 additions and 26 deletions

View file

@ -102,16 +102,16 @@
<widget class="StarWidget" name="rating" native="true"/>
</item>
<item row="10" column="1">
<widget class="QPushButton" name="resetNotes">
<widget class="QPushButton" name="editReset">
<property name="text">
<string>reset</string>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QPushButton" name="editNotes">
<widget class="QPushButton" name="editAccept">
<property name="text">
<string>edit</string>
<string>OK</string>
</property>
<property name="checkable">
<bool>true</bool>