Author: mkirby
Date: 2012-03-12 15:11:48 -0700 (Mon, 12 Mar 2012)
New Revision: 28503
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/CytoscapeMenuBar.java
Log:
Fixes #715 Importing a local app now refreshes the Menu Bar.
Modified:
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/CytoscapeMenuBar.java
===================================================================
---
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/CytoscapeMenuBar.java
2012-03-12 21:38:30 UTC (rev 28502)
+++
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/view/CytoscapeMenuBar.java
2012-03-12 22:11:48 UTC (rev 28503)
@@ -98,6 +98,9 @@
" with gravity: " + action.getMenuGravity());
actionMenuItemMap.put(action, menu_item);
+ revalidate();
+ repaint();
+
return true;
}
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.