Renumber ui: make it obvious which dives get renumbered

Using the menu entry or Ctrl-R is designed to renumber all dives, but
using the context menu renumbers only the selected dives. With this
change it becomes more obvious to the user what's happening.

Fixes #942

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-12-27 13:10:18 -08:00
parent 4db80aa1a4
commit 754112beb4
2 changed files with 22 additions and 3 deletions

View file

@ -40,7 +40,7 @@
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>New starting number</string>
<string>Renumbering all dives</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
@ -55,6 +55,19 @@
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="renumberText">
<property name="text">
<string>New starting number</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox">
<property name="maximum">