TD: [skip ci] use setAutoCloseOnTransactionChange for balloon and dimension task dialog
This commit is contained in:
@@ -217,6 +217,7 @@ TaskDlgBalloon::TaskDlgBalloon(QGIViewBalloon *parent, ViewProviderBalloon *ball
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("TechDraw_Balloon"), widget->windowTitle(), true, 0);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
setAutoCloseOnTransactionChange(true);
|
||||
}
|
||||
|
||||
TaskDlgBalloon::~TaskDlgBalloon()
|
||||
|
||||
@@ -303,6 +303,7 @@ TaskDlgDimension::TaskDlgDimension(QGIViewDimension *parent, ViewProviderDimensi
|
||||
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("TechDraw_Dimension"), widget->windowTitle(), true, 0);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
setAutoCloseOnTransactionChange(true);
|
||||
}
|
||||
|
||||
TaskDlgDimension::~TaskDlgDimension()
|
||||
|
||||
Reference in New Issue
Block a user