Utils: Fix connection

Change-Id: I1c17525be7326f836359ddcb911ae048f733a56e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-10-06 10:26:28 +02:00
parent 1fabd72514
commit 85889e6a09

View File

@@ -2508,7 +2508,7 @@ void FilePathListAspect::addToLayout(LayoutItem &parent)
connect(editor, &PathListEditor::changed, this, [this, editor] {
d->undoable.set(undoStack(), editor->pathList());
});
connect(&d->undoable.m_signal, &UndoSignaller::changed, this, [this, editor] {
connect(&d->undoable.m_signal, &UndoSignaller::changed, editor, [this, editor] {
if (editor->pathList() != d->undoable.get())
editor->setPathList(d->undoable.get());