()
| 559 | } |
| 560 | |
| 561 | func (fb *FormBase) Show() { |
| 562 | fb.proposedSize = maxSize(SizeFrom96DPI(fb.minSize96dpi, fb.DPI()), fb.SizePixels()) |
| 563 | |
| 564 | if p, ok := fb.window.(Persistable); ok && p.Persistent() && App().Settings() != nil { |
| 565 | p.RestoreState() |
| 566 | } |
| 567 | |
| 568 | fb.window.SetVisible(true) |
| 569 | } |
| 570 | |
| 571 | func (fb *FormBase) close() error { |
| 572 | if p, ok := fb.window.(Persistable); ok && p.Persistent() && App().Settings() != nil { |
nothing calls this directly
no test coverage detected