Explorar o código

showDialog in frame

luoyifan %!s(int64=4) %!d(string=hai) anos
pai
achega
58479b5b84
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/Scope.ts

+ 4 - 0
src/Scope.ts

@@ -94,6 +94,10 @@ export class Scope {
         }, vjsonOption, that.vjson, windows)
 
         const win = new Ext.Window(config);
+        const holder = sender?.lookupReferenceHolder()
+        if (holder) {
+            holder.add(win)
+        }
         win.show();
     }