src/document.cpp

changeset 86
4bec0525ef1b
parent 81
62373840e33a
child 104
cd4df75924b7
--- a/src/document.cpp	Wed Mar 18 17:11:23 2020 +0200
+++ b/src/document.cpp	Thu Mar 19 21:06:06 2020 +0200
@@ -70,6 +70,7 @@
 		this->renderer->handleSelectionChange(resolve(selected), resolve(deselected));
 		this->selectionChanged(resolve(this->ui.listView->selectionModel()->selection()));
 	});
+	connect(this->model, &Model::dataChanged, this->renderer, qOverload<>(&Canvas::update));
 }
 
 Document::~Document()

mercurial