From 4b1a9988b5a6238ee5b93769da9d64f38a183cdc Mon Sep 17 00:00:00 2001
From: Merydian
Date: Fri, 19 Jan 2024 10:23:32 +0100
Subject: [PATCH] feat: add tooltip to add button
---
ORStools/gui/ORStoolsDialogUI.py | 1 +
ORStools/gui/ORStoolsDialogUI.ui | 3 +++
2 files changed, 4 insertions(+)
diff --git a/ORStools/gui/ORStoolsDialogUI.py b/ORStools/gui/ORStoolsDialogUI.py
index f5de44f6..7690685d 100644
--- a/ORStools/gui/ORStoolsDialogUI.py
+++ b/ORStools/gui/ORStoolsDialogUI.py
@@ -503,6 +503,7 @@ def retranslateUi(self, ORStoolsDialogBase):
self.routing_preference_combo.setToolTip(_translate("ORStoolsDialogBase", "Preference"))
self.label_6.setText(_translate("ORStoolsDialogBase", "Start:"))
self.label_7.setText(_translate("ORStoolsDialogBase", "Destination:"))
+ self.geocode_add.setToolTip(_translate("ORStoolsDialogBase", "Add start and destination as first and last point."))
self.geocode_add.setText(_translate("ORStoolsDialogBase", "Add"))
self.routing_fromline_map.setToolTip(_translate("ORStoolsDialogBase", "
Add wayoints interactively from the map canvas.
Double-click will terminate waypoint selection.
"))
self.routing_fromline_clear.setToolTip(_translate("ORStoolsDialogBase", "If waypoints are selected in the list, only these will be deleted. Else all waypoints will be deleted.
"))
diff --git a/ORStools/gui/ORStoolsDialogUI.ui b/ORStools/gui/ORStoolsDialogUI.ui
index 4f439a5b..0e649bf1 100644
--- a/ORStools/gui/ORStoolsDialogUI.ui
+++ b/ORStools/gui/ORStoolsDialogUI.ui
@@ -282,6 +282,9 @@
30
+
+ Add start and destination as first and last point.
+
Add