Undo: update map when dive site location is changed by undo command

Simply hook into the appropriate signal. Thus, the "update dive site
location" button can be removed.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-03-14 22:48:03 +01:00 committed by Dirk Hohndel
parent fa4fedbb48
commit 0b851d723e
5 changed files with 6 additions and 36 deletions

View file

@ -156,20 +156,6 @@
<item row="2" column="2" colspan="3">
<widget class="QLineEdit" name="diveSiteCountry"/>
</item>
<item row="3" column="3">
<widget class="QToolButton" name="updateLocationButton">
<property name="toolTip">
<string>Update location on map</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:dive-location-marker-selected-icon</normaloff>:dive-location-marker-selected-icon</iconset>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
@ -188,7 +174,6 @@
<tabstop>diveSiteName</tabstop>
<tabstop>diveSiteCountry</tabstop>
<tabstop>diveSiteCoordinates</tabstop>
<tabstop>updateLocationButton</tabstop>
<tabstop>geoCodeButton</tabstop>
<tabstop>diveSiteDescription</tabstop>
<tabstop>diveSiteNotes</tabstop>