From eda9002f31cd8d48f0fed769acc5bc4df0020696 Mon Sep 17 00:00:00 2001 From: Gabriel Studer <gabriel.studer@unibas.ch> Date: Fri, 1 Feb 2019 14:33:44 +0100 Subject: [PATCH] QString is now Python string => toString() doesn't work anymore --- modules/gui/pymod/scene/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/pymod/scene/remote.py b/modules/gui/pymod/scene/remote.py index cab9165a8..3f4459914 100644 --- a/modules/gui/pymod/scene/remote.py +++ b/modules/gui/pymod/scene/remote.py @@ -42,7 +42,7 @@ class RemoteLoader(QtWidgets.QWidget): self._load.setText('load from %s ' % name) def _ToggleRepo(self, action): - self._current_repo = str(action.data().toString()) + self._current_repo = str(action.data()) self._UpdateLoadButton(self._current_repo) -- GitLab