From 345bccb7d97ebc234c021f6418fd4fd9b6d64578 Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Wed, 16 Oct 2024 15:43:31 -0400 Subject: [PATCH] fix NPE --- .../java/net/preibisch/stitcher/gui/StitchingExplorerPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/preibisch/stitcher/gui/StitchingExplorerPanel.java b/src/main/java/net/preibisch/stitcher/gui/StitchingExplorerPanel.java index c5364ea..7d18bfe 100644 --- a/src/main/java/net/preibisch/stitcher/gui/StitchingExplorerPanel.java +++ b/src/main/java/net/preibisch/stitcher/gui/StitchingExplorerPanel.java @@ -553,7 +553,7 @@ public void actionPerformed(final ActionEvent e) buttons.add( save, BorderLayout.EAST ); final JPanel header = new JPanel( new BorderLayout() ); - header.add( ViewSetupExplorerPanel.getXMLLabel( xml ), BorderLayout.WEST ); + header.add( xmlLabel = ViewSetupExplorerPanel.getXMLLabel( xml ), BorderLayout.WEST ); header.add( buttons, BorderLayout.EAST ); this.add( header, BorderLayout.NORTH );