Toggling Cut on Fold check must always trigger the check.
This commit is contained in:
parent
2bdd023afe
commit
f681b5ccaf
|
@ -4873,14 +4873,12 @@ void VPMainWindow::LayoutCutOnFold_toggled(bool checked)
|
|||
m_layout->LayoutSettings().SetCutOnFold(checked);
|
||||
LayoutWasSaved(false);
|
||||
|
||||
if (checked)
|
||||
{
|
||||
VPSheetPtr const sheet = m_layout->GetFocusedSheet();
|
||||
if (not sheet.isNull())
|
||||
{
|
||||
sheet->ValidatePiecesOutOfBound();
|
||||
}
|
||||
}
|
||||
|
||||
m_graphicsView->RefreshLayout();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user