From: Jim Procter Date: Fri, 29 Jul 2016 16:36:51 +0000 (+0100) Subject: JAL-2164 JAL-1772 explodeViews can be static, so make it so X-Git-Tag: Release_2_10_0~127^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8ec5b599aec222f197779a4c19e09afd0b5ab13e;p=jalview.git JAL-2164 JAL-1772 explodeViews can be static, so make it so --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 3736791..15f88fb 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -2831,7 +2831,7 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, @Override public void expandViews_actionPerformed(ActionEvent e) { - Desktop.instance.explodeViews(this); + Desktop.explodeViews(this); } /** diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index d54e553..7811e41 100644 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -1806,7 +1806,7 @@ public class Desktop extends jalview.jbgui.GDesktop implements * * @param af */ - public void explodeViews(AlignFrame af) + public static void explodeViews(AlignFrame af) { int size = af.alignPanels.size(); if (size < 2)