diff -r 29986dfd1750 -r 37d3c819cafa src/main.cpp --- a/src/main.cpp Wed Jun 22 16:13:01 2022 +0300 +++ b/src/main.cpp Wed Jun 22 16:13:15 2022 +0300 @@ -17,6 +17,7 @@ #include "settings.h" #include "ui/circletooloptionswidget.h" #include "messagelog.h" +#include "ui/objecteditor.h" static const QDir LOCALE_DIR {":/locale"}; @@ -290,6 +291,7 @@ void initializeTools(Ui_MainWindow* ui, DocumentManager* documents, QWidget* parent) { CircleToolOptionsWidget* circleToolOptions = new CircleToolOptionsWidget{parent}; + ObjectEditor* objectEditor = new ObjectEditor{parent}; const struct { QString name, tooltip; @@ -300,7 +302,7 @@ .name = QObject::tr("Select"), .tooltip = QObject::tr("Select elements from the model."), .icon = {":/icons/navigate-outline.png"}, - //.widget = this->objectEditor, + .widget = objectEditor, }, { .name = QObject::tr("Draw"),