From 8ec5b599aec222f197779a4c19e09afd0b5ab13e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 29 Jul 2016 17:36:51 +0100 Subject: [PATCH] JAL-2164 JAL-1772 explodeViews can be static, so make it so --- src/jalview/gui/AlignFrame.java | 2 +- src/jalview/gui/Desktop.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 1.7.10.2