feat: show post processor config dialog before save
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1040,6 +1040,13 @@ namespace OpenNest.Forms
|
|||||||
if (postProcessor == null)
|
if (postProcessor == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (postProcessor is IConfigurablePostProcessor configurable)
|
||||||
|
{
|
||||||
|
using var configForm = new PostProcessorConfigForm(configurable);
|
||||||
|
if (configForm.ShowDialog() != DialogResult.OK)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var dialog = new SaveFileDialog();
|
var dialog = new SaveFileDialog();
|
||||||
dialog.Filter = "CNC File (*.cnc) | *.cnc";
|
dialog.Filter = "CNC File (*.cnc) | *.cnc";
|
||||||
dialog.FileName = activeForm.Nest.Name;
|
dialog.FileName = activeForm.Nest.Name;
|
||||||
|
|||||||
Reference in New Issue
Block a user