diff --git a/CHANGELOG.md b/CHANGELOG.md index a1f60046..dc519d76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,14 @@ RELEASING: 13. Create new release in GitHub with tag version and release title of `vX.X.X` --> -## [1.7.1] + +## Unreleased + +### Added +- Add hint to use batch jobs for point layers in tooltip in save vertices button ([#211](https://github.com/GIScience/orstools-qgis-plugin/issues/211)) + +### Fixed +- TypeError if no SVGPaths are set ([#212](https://github.com/GIScience/orstools-qgis-plugin/issues/212)) - replace removesuffix() function with replace() function in base processing algorithm ([#215](https://github.com/GIScience/orstools-qgis-plugin/pull/215)) ## [1.7.0] - 2023-12-22 diff --git a/ORStools/gui/ORStoolsDialog.py b/ORStools/gui/ORStoolsDialog.py index baeb6619..bb6652d1 100644 --- a/ORStools/gui/ORStoolsDialog.py +++ b/ORStools/gui/ORStoolsDialog.py @@ -247,7 +247,7 @@ def run_gui_control(self): # add ors svg path my_new_path = os.path.join(basepath, "img/svg") - svg_paths = QSettings().value("svg/searchPathsForSVG") + svg_paths = QSettings().value("svg/searchPathsForSVG") or [] if my_new_path not in svg_paths: svg_paths.append(my_new_path) QSettings().setValue("svg/searchPathsForSVG", svg_paths) diff --git a/ORStools/gui/ORStoolsDialogUI.py b/ORStools/gui/ORStoolsDialogUI.py index cbc9e995..18fcb879 100644 --- a/ORStools/gui/ORStoolsDialogUI.py +++ b/ORStools/gui/ORStoolsDialogUI.py @@ -484,7 +484,7 @@ def retranslateUi(self, ORStoolsDialogBase): 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.

")) self.routing_fromline_list.setToolTip(_translate("ORStoolsDialogBase", "Select waypoints from the map!")) - self.save_vertices.setToolTip(_translate("ORStoolsDialogBase", "

Save points in list to layer.

")) + self.save_vertices.setToolTip(_translate("ORStoolsDialogBase", "

Save points in list to layer. Use the processing algorithms (batch jobs) to work with points from layers.

")) self.advances_group.setTitle(_translate("ORStoolsDialogBase", "Advanced Configuration")) self.optimization_group.setToolTip(_translate("ORStoolsDialogBase", "

Enabling Traveling Salesman will omit all other advanced configuration and assume the preference to be fastest.

")) self.optimization_group.setTitle(_translate("ORStoolsDialogBase", "Traveling Salesman")) diff --git a/ORStools/gui/ORStoolsDialogUI.ui b/ORStools/gui/ORStoolsDialogUI.ui index e484a125..8c5edf1e 100644 --- a/ORStools/gui/ORStoolsDialogUI.ui +++ b/ORStools/gui/ORStoolsDialogUI.ui @@ -350,7 +350,7 @@ - <html><head/><body><p>Save points in list to layer.</p></body></html> + <html><head/><body><p>Save points in list to layer. Use the processing algorithms (batch jobs) to work with points from layers.</p></body></html>