mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-16 01:49:23 +02:00
Removed + and - buttons in cluster interface editor dialog page (fixed #1827)
This commit is contained in:
@@ -39,10 +39,10 @@ ClusterInterfacesSelectorWidget::ClusterInterfacesSelectorWidget(QWidget *parent
|
||||
delInterface.setIcon(QIcon(":/Icons/del.png"));
|
||||
newInterface.setToolTip(tr("Add new interface"));
|
||||
delInterface.setToolTip(tr("Delete current interface"));
|
||||
this->setCornerWidget(&delInterface, Qt::TopRightCorner);
|
||||
/* this->setCornerWidget(&delInterface, Qt::TopRightCorner);
|
||||
this->setCornerWidget(&newInterface, Qt::TopLeftCorner);
|
||||
this->cornerWidget(Qt::TopRightCorner)->show();
|
||||
this->cornerWidget(Qt::TopLeftCorner)->show();
|
||||
this->cornerWidget(Qt::TopLeftCorner)->show();*/
|
||||
noTabs = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -214,6 +214,8 @@ void InterfacesTabWidget::setClusterMode(bool st)
|
||||
this->widget(i));
|
||||
if (w!=NULL) w->setClusterMode(st);
|
||||
}
|
||||
newInterface.setVisible(!st);
|
||||
delInterface.setVisible(!st);
|
||||
}
|
||||
|
||||
void InterfacesTabWidget::addClusterInterface(ClusterInterfaceData data)
|
||||
|
||||
Reference in New Issue
Block a user