allow final actions when printing geometry (#2444)

This commit is contained in:
borgmanJeremy
2022-02-18 12:30:10 -06:00
committed by GitHub
parent dc57d622a8
commit aa6b5eac93

View File

@@ -272,7 +272,8 @@ void CaptureWidget::initButtons()
{
auto allButtonTypes = CaptureToolButton::getIterableButtonTypes();
auto visibleButtonTypes = m_config.buttons();
if (m_context.request.tasks() == CaptureRequest::NO_TASK) {
if ((m_context.request.tasks() == CaptureRequest::NO_TASK) ||
(m_context.request.tasks() == CaptureRequest::PRINT_GEOMETRY)) {
allButtonTypes.removeOne(CaptureTool::TYPE_ACCEPT);
visibleButtonTypes.removeOne(CaptureTool::TYPE_ACCEPT);
} else {