We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c784bc3 commit 9e12c5aCopy full SHA for 9e12c5a
APLSource/GUI/ExpandDatabase.aplf
@@ -3,9 +3,10 @@
3
⍝ ⍵ ←→ (tree obj)(config obj)
4
⍝ ⍺ ←→ item, which is the connection name
5
t c←⍵
6
- s←c t ##.DB.Connect ⍺
7
- s≡¯1:''
8
oldCursor←t SetCursor'Wait'
+ s←c t ##.DB.Connect ⍺
+ ResetCursor←{t SetCursor oldCursor}
9
+ s≡¯1:ResetCursor''
10
schemas tables←↓⍉##.DB.GetTables ⍺
11
dMat←schemas{(1 2⍴⍺,1)(⍵,(⍤¯1)2)}⌸tables
12
items←t.Items
@@ -14,5 +15,5 @@
14
15
cItems←⊃,/{⍵[;1]}¨,dMat
16
cDepths←∊{⍵[;2]}¨,dMat
17
t.(Items Depth)←cItems cDepths{(start↑⍵),⍺,(start↓⍵)}¨items depths
- t SetCursor oldCursor
18
+ ResetCursor''
19
}
0 commit comments