src/document.cpp

changeset 104
cd4df75924b7
parent 86
4bec0525ef1b
child 108
94c92c923713
--- a/src/document.cpp	Sun May 16 22:41:00 2021 +0300
+++ b/src/document.cpp	Mon Jul 19 19:28:16 2021 +0300
@@ -71,6 +71,7 @@
 		this->selectionChanged(resolve(this->ui.listView->selectionModel()->selection()));
 	});
 	connect(this->model, &Model::dataChanged, this->renderer, qOverload<>(&Canvas::update));
+	connect(this->renderer, &Canvas::mouseClick, this, &Document::mouseClick);
 }
 
 Document::~Document()

mercurial