[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-cvs
Subject: [ jEdit-commits ] SF.net SVN: jedit:[22271] plugins/Navigator/trunk/src/ise/plugin/nav/ NavigatorPlu
From: daleanson () users ! sourceforge ! net
Date: 2012-09-28 18:50:32
Message-ID: E1THfdw-0006fv-QG () sfp-svn-4 ! v30 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 22271
http://jedit.svn.sourceforge.net/jedit/?rev=22271&view=rev
Author: daleanson
Date: 2012-09-28 18:50:32 +0000 (Fri, 28 Sep 2012)
Log Message:
-----------
Fix for NPE thrown when no toolbar is present and properties change.
Modified Paths:
--------------
plugins/Navigator/trunk/src/ise/plugin/nav/NavigatorPlugin.java
Modified: plugins/Navigator/trunk/src/ise/plugin/nav/NavigatorPlugin.java
===================================================================
--- plugins/Navigator/trunk/src/ise/plugin/nav/NavigatorPlugin.java 2012-09-28 \
17:41:29 UTC (rev 22270)
+++ plugins/Navigator/trunk/src/ise/plugin/nav/NavigatorPlugin.java 2012-09-28 \
18:50:32 UTC (rev 22271) @@ -159,7 +159,13 @@
clearToolBars(true);
View[] views = jEdit.getViews();
for (View view : views) {
- view.getToolBar().add(new \
NavToolBar(getNavigator(view))); + if (view.getToolBar() \
!= null) { + Navigator nav = getNavigator(view);
+ if (nav != null) {
+ NavToolBar toolBar = new NavToolBar(nav);
+ view.getToolBar().add(toolBar);
+ }
+ }
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic