Allow delete object when creating a main path.
--HG-- branch : feature
This commit is contained in:
parent
ffa241ea0d
commit
0d1179a451
|
@ -297,7 +297,6 @@ void DialogSeamAllowance::ShowMainPathContextMenu(const QPoint &pos)
|
|||
|
||||
QMenu *menu = new QMenu(this);
|
||||
QAction *actionDelete = menu->addAction(QIcon::fromTheme("edit-delete"), tr("Delete"));
|
||||
actionDelete->setEnabled(applyAllowed);//Because we can't undo this operation when creating a piece.
|
||||
|
||||
QListWidgetItem *rowItem = ui->listWidgetMainPath->item(row);
|
||||
SCASSERT(rowItem != nullptr);
|
||||
|
|
Loading…
Reference in New Issue
Block a user