Allow all linkable files as missing files to fix #1297

pull/1304/head
Adam Novak 2022-10-18 18:39:15 -04:00
parent 6b9e7b2eec
commit 3dc4d0e640
1 changed files with 1 additions and 1 deletions

View File

@ -918,7 +918,7 @@ try_again:
switch(LocateImportedFile(linkFileRelative, canCancel)) { switch(LocateImportedFile(linkFileRelative, canCancel)) {
case Platform::MessageDialog::Response::YES: { case Platform::MessageDialog::Response::YES: {
Platform::FileDialogRef dialog = Platform::CreateOpenFileDialog(SS.GW.window); Platform::FileDialogRef dialog = Platform::CreateOpenFileDialog(SS.GW.window);
dialog->AddFilters(Platform::SolveSpaceModelFileFilters); dialog->AddFilters(Platform::SolveSpaceLinkFileFilters);
dialog->ThawChoices(settings, "LinkSketch"); dialog->ThawChoices(settings, "LinkSketch");
dialog->SuggestFilename(linkFileRelative); dialog->SuggestFilename(linkFileRelative);
if(dialog->RunModal()) { if(dialog->RunModal()) {