Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Feb 27, 2025
2 parents 8c8a69a + d9af4c1 commit 5a47763
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ public void openViewerPlugin(
boolean selectPatient = !isPatientOpen;
if (!isPatientOpen && canAddNewPatient()) {
SeriesViewerFactory plugin = GuiUtils.getUICore().getViewerFactory(dicomSeries.getMimeType());
if (plugin != null && !(plugin instanceof MimeSystemAppFactory)) {
if (plugin != null
&& !("SRFactory".equals(plugin.getClass().getSimpleName()))
&& !(plugin instanceof MimeSystemAppFactory)) {
addPatient(patient);
selectPatient = false;
ViewerPluginBuilder.openSequenceInPlugin(plugin, dicomSeries, dicomModel, true, true);
Expand Down

0 comments on commit 5a47763

Please sign in to comment.