src/toolsets/basictoolset.cpp

changeset 1300
609b75b026c4
parent 1298
dbc8bb2a4d84
child 1301
4a4e9fb9da76
--- a/src/toolsets/basictoolset.cpp	Sun Mar 18 12:37:40 2018 +0200
+++ b/src/toolsets/basictoolset.cpp	Sun Mar 18 23:31:15 2018 +0200
@@ -24,6 +24,7 @@
 #include <QVBoxLayout>
 #include "../canvas.h"
 #include "../lddocument.h"
+#include "../linetypes/comment.h"
 #include "../linetypes/modelobject.h"
 #include "../linetypes/triangle.h"
 #include "../linetypes/quadrilateral.h"
@@ -327,7 +328,7 @@
 
 void BasicToolset::newComment()
 {
-	// TODO:
+	createObject<LDComment>(this->m_window);
 }
 
 void BasicToolset::newBFC()

mercurial