Undo: show warning message if more than one dive edited

On the MainTab, warn if more than one dive was edited. To this purpose,
add a new KMessageWidget with an "OK" button that closes the message.
Code is mostly a copy of the already existing "Editing dive" message.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-05-24 21:11:20 +02:00 committed by Dirk Hohndel
parent 99dc528a10
commit 944a9aed54
3 changed files with 41 additions and 14 deletions

View file

@ -17,6 +17,9 @@
<item>
<widget class="KMessageWidget" name="diveNotesMessage"/>
</item>
<item>
<widget class="KMessageWidget" name="multiDiveWarningMessage"/>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">