Skip to content

Commit

Permalink
Fix issue #1604
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian committed Oct 23, 2016
1 parent 26039b4 commit 8a08f89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,12 @@ public void run() {
Collections.sort(rows, new Comparator<Function>() {
@Override
public int compare(Function o1, Function o2) {
return o1.getUI().getDisplayName().compareTo(o2.getUI().getDisplayName());
if(o1.isAttribute() && !o2.isAttribute()) {
return 1;
} else if(!o1.isAttribute() && o2.isAttribute()) {
return -1;
}
return o1.toString().compareTo(o2.toString());
}
});
for (Function r : rows) {
Expand Down
2 changes: 1 addition & 1 deletion modules/DesktopAppearance/src/main/nbm/manifest.mf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
AutoUpdate-Essential-Module: true
OpenIDE-Module-Localizing-Bundle: org/gephi/desktop/appearance/Bundle.properties
OpenIDE-Module-Specification-Version: 0.9.1.1
OpenIDE-Module-Specification-Version: 0.9.1.2
OpenIDE-Module-Display-Category: Gephi UI
OpenIDE-Module-Name: Desktop Appearance

0 comments on commit 8a08f89

Please sign in to comment.