fix(ui): 数据列表切片菜单「保存位姿/另存为…」→「保存/另存为」(与VTK菜单/用户口径一致)

构建:app 链接通过
This commit is contained in:
gaozheng 2026-06-26 14:09:34 +08:00
parent b48684a0ba
commit 302d946bd9
1 changed files with 2 additions and 2 deletions

View File

@ -345,8 +345,8 @@ void CategorySection::showContextMenu(const QPoint& pos) {
sl->addAction(QStringLiteral("任意"), this, [this, id] { emit sliceRequested(SliceAxis::Oblique, id); });
menu.addAction(QStringLiteral("色阶"), this, [this, id] { emit colorScaleRequested(id); });
} else if (ddCode == QStringLiteral("dd_slice")) { // 切片
menu.addAction(QStringLiteral("保存位姿"), this, [this, id] { emit sliceSaveRequested(id); });
menu.addAction(QStringLiteral("另存为"), this, [this, id] { emit sliceSaveAsRequested(id); });
menu.addAction(QStringLiteral("保存"), this, [this, id] { emit sliceSaveRequested(id); });
menu.addAction(QStringLiteral("另存为"), this, [this, id] { emit sliceSaveAsRequested(id); });
QMenu* ex = menu.addMenu(QStringLiteral("导出"));
ex->addAction(QStringLiteral("图片"), this, [this, id] { emit sliceExportImageRequested(id); });
ex->addAction(QStringLiteral("dat"), this, [this, id] { emit sliceExportDatRequested(id); });