From 4425ea09f88adeab5a534b3e7db5db1532988c67 Mon Sep 17 00:00:00 2001 From: Jan Max Meyer Date: Thu, 10 Nov 2022 01:06:21 +0100 Subject: [PATCH] Fixing hierarchy.add --- CHANGELOG.md | 3 ++- vi/actions/hierarchy.py | 2 +- vi/config.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 554d8260..666a74e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ This file documents any relevant changes done to ViUR Vi since version 2. -## [3.0.27] - 2022-11-09 +## [3.0.27] - 2022-11-10 +- Fixing hierarchy.add - customActions - several fixes - with "success"-info & "then"-action diff --git a/vi/actions/hierarchy.py b/vi/actions/hierarchy.py index f610bf5d..9afc35fb 100644 --- a/vi/actions/hierarchy.py +++ b/vi/actions/hierarchy.py @@ -32,7 +32,7 @@ def isSuitableFor( module, handler, actionName ): def onClick(self, sender=None): - node = self.parent().parent().currentKey + node = self.parent().parent().node if not node: node = self.parent().parent().rootNode diff --git a/vi/config.py b/vi/config.py index 5e20a82b..0c654e19 100644 --- a/vi/config.py +++ b/vi/config.py @@ -3,7 +3,7 @@ vi_conf = { # Vi version number - "vi.version": (3, 0, 26), + "vi.version": (3, 0, 27), # ViUR server version number "core.version": None, "core.version.min": (3, 0, 0), # minimal core Version