[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-cvs
Subject:    [ jEdit-commits ] SF.net SVN: jedit:[24093] jEdit/trunk/org/gjt/sp/jedit/pluginmgr/ ManagePanel.java
From:       daleanson () users ! sourceforge ! net
Date:       2015-09-24 14:28:32
Message-ID: E1Zf7Vj-0002W4-Oh () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 24093
          http://sourceforge.net/p/jedit/svn/24093
Author:   daleanson
Date:     2015-09-24 14:28:32 +0000 (Thu, 24 Sep 2015)
Log Message:
-----------
Fixed issue with initial sort on name column not working.

Modified Paths:
--------------
    jEdit/trunk/org/gjt/sp/jedit/pluginmgr/ManagePanel.java

Modified: jEdit/trunk/org/gjt/sp/jedit/pluginmgr/ManagePanel.java
===================================================================
--- jEdit/trunk/org/gjt/sp/jedit/pluginmgr/ManagePanel.java	2015-09-24 02:36:15 UTC \
                (rev 24092)
+++ jEdit/trunk/org/gjt/sp/jedit/pluginmgr/ManagePanel.java	2015-09-24 14:28:32 UTC \
(rev 24093) @@ -416,7 +416,7 @@
 		private int sortType = EntryCompare.NAME;
 		private ConcurrentHashMap<String, Object> unloaded;
 		// private HashSet<String> unloaded;
-		private int sortDirection;
+		private int sortDirection = 1;
 
 		//{{{ Constructor
 		PluginTableModel()
@@ -601,7 +601,7 @@
 			}
 			sortType = type;
 
-			Collections.sort(entries,new EntryCompare(type, sortDirection));
+			Collections.sort(entries, new EntryCompare(type, sortDirection));
 			fireTableChanged(new TableModelEvent(this));
 			restoreSelection(savedSelection);
 			table.getTableHeader().repaint();

This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.


------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
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