Fix context menu.

This commit is contained in:
Roman Telezhynskyi 2023-10-12 12:02:43 +03:00
parent 6a3531eef9
commit a46b5b8d1d

View File

@ -2288,6 +2288,7 @@ auto DialogPiecePath::InitContextMenu(QMenu *menu, const VPieceNode &rowNode) ->
QAction *actionReverse = menu->addAction(tr("Reverse"));
actionReverse->setCheckable(true);
actionReverse->setChecked(rowNode.GetReverse());
contextMenu.insert(static_cast<int>(ContextMenuOption::Reverse), actionReverse);
}
else
{