From 8f7020051c87c6e0ccb77c7286c518236a285797 Mon Sep 17 00:00:00 2001 From: Amandus Butzer Date: Wed, 8 Dec 2021 14:57:03 +0100 Subject: [PATCH] Adjust default provider url use the default url of a local ors instance for a new provider entry --- CHANGELOG.md | 3 +++ ORStools/gui/ORStoolsDialogConfig.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 385169ec..5cf515c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,9 @@ RELEASING: - custom request timeouts for providers ([#122](https://github.com/GIScience/orstools-qgis-plugin/issues/122)) - exception on network failures due to unresponsive provider +### Changed +- default url for new provider entry to default ors backend url + ## [1.4.0] - 2021-06-15 ### Added diff --git a/ORStools/gui/ORStoolsDialogConfig.py b/ORStools/gui/ORStoolsDialogConfig.py index e51cd001..fabab746 100644 --- a/ORStools/gui/ORStoolsDialogConfig.py +++ b/ORStools/gui/ORStoolsDialogConfig.py @@ -117,7 +117,7 @@ def _add_provider(self): # Show quick user input dialog provider_name, ok = QInputDialog.getText(self, "New ORS provider", "Enter a name for the provider") if ok: - self._add_box(provider_name, 'https://', '', 60, new=True) + self._add_box(provider_name, 'http://localhost:8082/ors', '', 60, new=True) def _remove_provider(self): """Remove list of providers from list."""