From c4950cb9c89d5fa4b64d7c6b143f70bd67f00049 Mon Sep 17 00:00:00 2001 From: smathot Date: Thu, 25 Apr 2024 15:59:33 +0200 Subject: [PATCH] Fix regression creating linked copies - Bump to 4.0.26 --- libopensesame/metadata.py | 2 +- libqtopensesame/widgets/tree_item_item.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libopensesame/metadata.py b/libopensesame/metadata.py index 3f11687ed..8e4b592a1 100644 --- a/libopensesame/metadata.py +++ b/libopensesame/metadata.py @@ -20,7 +20,7 @@ from distutils.version import StrictVersion import sys -__version__ = '4.0.25' +__version__ = '4.0.26' strict_version = StrictVersion(__version__) # The version without the prerelease (if any): e.g. 3.0.0 main_version = '.'.join([str(i) for i in strict_version.version]) diff --git a/libqtopensesame/widgets/tree_item_item.py b/libqtopensesame/widgets/tree_item_item.py index 5cf660f9a..41aff5988 100644 --- a/libqtopensesame/widgets/tree_item_item.py +++ b/libqtopensesame/widgets/tree_item_item.py @@ -259,7 +259,7 @@ def copy_linked(self): import json data = { - 'type': 'item-snippet', + 'type': 'item-existing', 'item-name': self.item.name, 'item-type': self.item.item_type, 'move': False, diff --git a/pyproject.toml b/pyproject.toml index 6003916b7..818ce7fc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "opensesame-core" -version = "4.0.25" +version = "4.0.26" description = "A graphical experiment builder for the social sciences" authors = ["Sebastiaan Mathôt "] readme = "readme.md"