File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 48
48
import processing .app .javax .swing .filechooser .FileNameExtensionFilter ;
49
49
import processing .app .packages .Library ;
50
50
import processing .app .packages .LibraryList ;
51
+ import processing .app .tools .MenuScroller ;
51
52
import processing .app .tools .ZipDeflater ;
52
53
import processing .core .*;
53
54
import static processing .app .I18n ._ ;
@@ -1632,8 +1633,10 @@ public void actionPerformed(ActionEvent e) {
1632
1633
// not a sketch folder, but maybe a subfolder containing sketches
1633
1634
JMenu submenu = new JMenu (name );
1634
1635
boolean found = addSketches (submenu , folder , replaceExisting );
1635
- if (found )
1636
+ if (found ) {
1636
1637
menu .add (submenu );
1638
+ MenuScroller .setScrollerFor (submenu );
1639
+ }
1637
1640
return found ;
1638
1641
}
1639
1642
You can’t perform that action at this time.
0 commit comments