Set Fyne window as master during controller initialization.
This commit is contained in:
parent
077d7a82a9
commit
f4604f94c6
@ -20,6 +20,7 @@ type controller struct {
|
|||||||
|
|
||||||
func NewController(app application.AppContract) ControllerContract {
|
func NewController(app application.AppContract) ControllerContract {
|
||||||
fyneWindow := app.FyneApp().NewWindow(app.FyneApp().Metadata().Name)
|
fyneWindow := app.FyneApp().NewWindow(app.FyneApp().Metadata().Name)
|
||||||
|
fyneWindow.SetMaster()
|
||||||
queueLayout := window.NewQueueLayout(app.GetFFmpegService())
|
queueLayout := window.NewQueueLayout(app.GetFFmpegService())
|
||||||
app.GetQueueService().AddListener(queueLayout)
|
app.GetQueueService().AddListener(queueLayout)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user