Set Fyne window as master during controller initialization.

This commit is contained in:
Leonid Nikitin 2025-06-09 23:38:50 +05:00
parent 077d7a82a9
commit f4604f94c6
Signed by: kor-elf
GPG Key ID: DAB5355A11C22541

View File

@ -20,6 +20,7 @@ type controller struct {
func NewController(app application.AppContract) ControllerContract {
fyneWindow := app.FyneApp().NewWindow(app.FyneApp().Metadata().Name)
fyneWindow.SetMaster()
queueLayout := window.NewQueueLayout(app.GetFFmpegService())
app.GetQueueService().AddListener(queueLayout)