File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -893,6 +893,18 @@ Function searchReset()
893
893
killGlobalStr ( "search" )
894
894
End
895
895
896
+ Function DeletePKGfolder ()
897
+ Wave /T decl = getDeclWave ()
898
+ Wave /I line = getLineWave ()
899
+
900
+ KillWaves / Z decl, line
901
+ KillDataFolder / Z $ pkgFolder
902
+
903
+ if ( ! CountObjects ( "root:Packages" ,4 ))
904
+ KillDataFolder root: Packages
905
+ endif
906
+ End
907
+
896
908
// Shows the line/function for the function/macro with the given index into decl
897
909
// With no index just the procedure file is shown
898
910
Function showCode ( procedure,[ index] )
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ Function preparePanelClose()
85
85
86
86
// reset global gui variables
87
87
searchReset ()
88
+
89
+ // clean Package DataFolder
90
+ DeletePKGfolder ()
88
91
End
89
92
90
93
Function panelHook ( s)
You can’t perform that action at this time.
0 commit comments