use standard Close button for consistency with other task dialogs
This commit is contained in:
committed by
Chris Hennes
parent
e89cba0769
commit
9878ecf3a2
@@ -192,11 +192,6 @@ void DlgDisplayPropertiesImp::setupConnections()
|
||||
connect(d->ui.buttonColorPlot, &ColorButton::clicked, this, &DlgDisplayPropertiesImp::onButtonColorPlotClicked);
|
||||
}
|
||||
|
||||
void DlgDisplayPropertiesImp::showDefaultButtons(bool ok)
|
||||
{
|
||||
d->ui.buttonBox->setVisible(ok);
|
||||
}
|
||||
|
||||
void DlgDisplayPropertiesImp::changeEvent(QEvent *e)
|
||||
{
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
@@ -630,7 +625,6 @@ TaskDisplayProperties::TaskDisplayProperties()
|
||||
{
|
||||
this->setButtonPosition(TaskDisplayProperties::North);
|
||||
widget = new DlgDisplayPropertiesImp(false);
|
||||
widget->showDefaultButtons(false);
|
||||
taskbox = new Gui::TaskView::TaskBox(QPixmap(), widget->windowTitle(),true, nullptr);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
|
||||
Reference in New Issue
Block a user