Fix context menu.
This commit is contained in:
parent
6a3531eef9
commit
a46b5b8d1d
|
@ -2288,6 +2288,7 @@ auto DialogPiecePath::InitContextMenu(QMenu *menu, const VPieceNode &rowNode) ->
|
||||||
QAction *actionReverse = menu->addAction(tr("Reverse"));
|
QAction *actionReverse = menu->addAction(tr("Reverse"));
|
||||||
actionReverse->setCheckable(true);
|
actionReverse->setCheckable(true);
|
||||||
actionReverse->setChecked(rowNode.GetReverse());
|
actionReverse->setChecked(rowNode.GetReverse());
|
||||||
|
contextMenu.insert(static_cast<int>(ContextMenuOption::Reverse), actionReverse);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user