Undo: implement undo of dive site notes editing

Simply copy the code of description editing.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-03-14 00:00:54 +01:00 committed by Dirk Hohndel
parent 2bb2643ae4
commit 4d183e0d75
7 changed files with 53 additions and 13 deletions

View file

@ -55,7 +55,7 @@
</widget>
</item>
<item row="7" column="2" rowspan="2" colspan="3">
<widget class="QPlainTextEdit" name="diveSiteNotes">
<widget class="TextEdit" name="diveSiteNotes">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
@ -179,6 +179,10 @@
<header>desktop-widgets/kmessagewidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>TextEdit</class>
<header>desktop-widgets/textedit.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>diveSiteName</tabstop>