--- 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()