summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/locationinformation.ui
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-14 22:48:03 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit0b851d723e1b57fd2065c268977e023cfb364066 (patch)
tree332265f1cb2fcc9adeab29936ad50ebb9cecaaa5 /desktop-widgets/locationinformation.ui
parentfa4fedbb488eacff72d5d8691b4da8b34634a71e (diff)
downloadsubsurface-0b851d723e1b57fd2065c268977e023cfb364066.tar.gz
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>
Diffstat (limited to 'desktop-widgets/locationinformation.ui')
-rw-r--r--desktop-widgets/locationinformation.ui15
1 files changed, 0 insertions, 15 deletions
diff --git a/desktop-widgets/locationinformation.ui b/desktop-widgets/locationinformation.ui
index 10ffe8ff2..f45d0ceea 100644
--- a/desktop-widgets/locationinformation.ui
+++ b/desktop-widgets/locationinformation.ui
@@ -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>