Remove return value of CreatePopupPanel

This commit is contained in:
Stefan Haller 2024-09-05 10:40:59 +02:00
parent 6f0182f11c
commit b15a1c7ae7
3 changed files with 10 additions and 9 deletions

View file

@ -671,8 +671,8 @@ func NewGui(
gui.PopupHandler = popup.NewPopupHandler(
cmn,
func(ctx goContext.Context, opts types.CreatePopupPanelOpts) error {
return gui.helpers.Confirmation.CreatePopupPanel(ctx, opts)
func(ctx goContext.Context, opts types.CreatePopupPanelOpts) {
gui.helpers.Confirmation.CreatePopupPanel(ctx, opts)
},
func() error { return gui.c.Refresh(types.RefreshOptions{Mode: types.ASYNC}) },
func() { gui.State.ContextMgr.Pop() },