allow final actions when printing geometry (#2444)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user