From: amwaterhouse Date: Mon, 19 Sep 2005 13:40:55 +0000 (+0000) Subject: Dont add ServiceListeners if desktop is null X-Git-Tag: Release_2_06~47 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5fa8d710ac4197020961cb28556081ed294359dc;p=jalview.git Dont add ServiceListeners if desktop is null --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index b730c0f..79dc866 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -107,7 +107,7 @@ public class AlignFrame } }); - + if(Desktop.desktop!=null) addServiceListeners(); }