From 929fdf69e5f4ba539ae7f8fcdfc35b3efcea6f8d Mon Sep 17 00:00:00 2001 From: Vxrtrauter <101264710+Vxrtrauter@users.noreply.github.com> Date: Tue, 7 Apr 2026 01:07:22 +0200 Subject: [PATCH] Update and revert image path in settings dialog Capture the original state.image_path at dialog start, connect the Image Path QLineEdit's textChanged signal to update state.image_path immediately, and restore the original image_path if the settings dialog is cancelled. This matches existing undo behavior for width/offset/opacity and prevents partial image path edits from persisting when the dialog is rejected. --- src/interface/dialogs/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/interface/dialogs/settings.py b/src/interface/dialogs/settings.py index 2fb6652..6b6a25e 100644 --- a/src/interface/dialogs/settings.py +++ b/src/interface/dialogs/settings.py @@ -24,6 +24,7 @@ SVG_FOLDER = '