mirror of
https://gitee.com/energye/energy.git
synced 2024-12-03 12:17:44 +08:00
A: view's component events/procs
This commit is contained in:
parent
5c922333c5
commit
e1e96ada8e
@ -38,6 +38,7 @@ func createDevtoolsWindow(owner *LCLBrowserWindow) *devToolsWindow {
|
||||
window.SetHeight(768)
|
||||
window.ScreenCenter()
|
||||
window.SetShowInTaskBar(types.StAlways)
|
||||
window.SetVisible(false)
|
||||
window.TForm.SetOnClose(func(sender lcl.IObject, action *types.TCloseAction) {
|
||||
*action = types.CaFree
|
||||
owner.Chromium().CloseDevTools(window.WindowParent()) // close devtools
|
||||
|
Loading…
Reference in New Issue
Block a user