From 84d0866f72c7954fe7bffc1c616558b4bc949b2f Mon Sep 17 00:00:00 2001 From: Vitali Graf Date: Sun, 22 Mar 2026 18:46:45 +0100 Subject: [PATCH] Feat: Doppelklick auf Netzwerkgraph-Knoten kopiert Dateiname ins Suchfeld (v1.2.3) Co-Authored-By: Claude Opus 4.6 --- DocuMentor.wxs | 2 +- THIRD_PARTY_LICENSES.txt | 2 +- installer.iss | 2 +- pyproject.toml | 2 +- src/ui/XslDependencyDialog.py | 18 ++++++++++++++++++ uv.lock | 2 +- 6 files changed, 23 insertions(+), 5 deletions(-) diff --git a/DocuMentor.wxs b/DocuMentor.wxs index 960eced..ff33c83 100644 --- a/DocuMentor.wxs +++ b/DocuMentor.wxs @@ -4,7 +4,7 @@ tuple[str, str]: """ Konvertiert den Abhängigkeitsgraph in vis.js-kompatible JSON-Strukturen. @@ -866,6 +874,16 @@ class XslDependencyDialog(QDialog): edges.update(edgeUpdates); }}); + network.on("doubleClick", function(params) {{ + if (params.nodes.length > 0) {{ + var nodeId = params.nodes[0]; + var node = nodes.get(nodeId); + if (node) {{ + document.title = "nodeSearch:" + node.label; + }} + }} + }}); + network.on("deselectNode", function() {{ // Alle Knoten zurücksetzen var updates = []; diff --git a/uv.lock b/uv.lock index 9317351..49058d8 100644 --- a/uv.lock +++ b/uv.lock @@ -34,7 +34,7 @@ wheels = [ [[package]] name = "documentor" -version = "1.2.2" +version = "1.2.3" source = { virtual = "." } dependencies = [ { name = "connectorx" },