src/layers/edittools.cpp

changeset 309
d862721d19a3
parent 307
4771720fe258
child 310
5d6639a9607f
--- a/src/layers/edittools.cpp	Wed Jun 29 16:21:44 2022 +0300
+++ b/src/layers/edittools.cpp	Wed Jun 29 16:33:49 2022 +0300
@@ -299,7 +299,7 @@
 	switch(this->mode) {
 	case SelectMode:
 		if (event->button() == Qt::LeftButton) {
-			const ModelId highlighted = this->renderer->pick(event->pos());
+			const ElementId highlighted = this->renderer->pick(event->pos());
 			Q_EMIT this->select({highlighted}, false);
 		}
 		break;

mercurial