feat: show post processor config dialog before save

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-31 12:08:44 -04:00
parent 54c6f1bc89
commit bcaa4a03ee

View File

@@ -1040,6 +1040,13 @@ namespace OpenNest.Forms
if (postProcessor == null)
return;
if (postProcessor is IConfigurablePostProcessor configurable)
{
using var configForm = new PostProcessorConfigForm(configurable);
if (configForm.ShowDialog() != DialogResult.OK)
return;
}
var dialog = new SaveFileDialog();
dialog.Filter = "CNC File (*.cnc) | *.cnc";
dialog.FileName = activeForm.Nest.Name;