mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 21:31:42 +00:00
Array dialog: if validation fails, don't close - allow user to fix it
This commit is contained in:
parent
7116ed6917
commit
d677b84de1
@ -492,8 +492,10 @@ bool DIALOG_CREATE_ARRAY::TransferDataFromWindow()
|
||||
ret = false;
|
||||
}
|
||||
|
||||
// This dialog is not modal, so close it now
|
||||
Close();
|
||||
// This dialog is not modal, so close it now if successful
|
||||
if( ret )
|
||||
Close();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user