use existing ws local variable work shared NSWorkspace

This commit is contained in:
Riccardo Mottola 2025-03-25 00:00:18 +01:00
parent 60aca74336
commit c00d5beaf8

View file

@ -219,8 +219,8 @@
}
if (viewer != nil)
{
result = [[NSWorkspace sharedWorkspace] openFile: file
withApplication: viewer];
result = [ws openFile: file
withApplication: viewer];
}
}