diff --git a/src/app/widgets/vtooloptionspropertybrowser.cpp b/src/app/widgets/vtooloptionspropertybrowser.cpp index d050e37d2..91972430e 100644 --- a/src/app/widgets/vtooloptionspropertybrowser.cpp +++ b/src/app/widgets/vtooloptionspropertybrowser.cpp @@ -75,6 +75,8 @@ void VToolOptionsPropertyBrowser::itemClicked(QGraphicsItem *item) if (currentItem == nullptr) { + QDockWidget *parent = qobject_cast(this->parent()); + parent->setWindowTitle(tr("Tool options")); return; } @@ -188,6 +190,8 @@ void VToolOptionsPropertyBrowser::ShowItemOptions(QGraphicsItem *item) case VToolSinglePoint::Type: { VToolSinglePoint *i = qgraphicsitem_cast(item); + QDockWidget *parent = qobject_cast(this->parent()); + parent->setWindowTitle(tr("Tool options (Base point)")); VProperty* itemName = new VProperty(tr("Point name")); itemName->setValue(i->name());