qual: remove unnecessary recalculation code in setHideUI()

This commit is contained in:
Piotr Grabowski 2022-07-12 13:59:13 +02:00
parent a9bb1fd9df
commit 732d6ed99b

View file

@ -205,11 +205,6 @@ func (app *App) setHideUI(hideUI bool) {
app.W.Statusbar.Show()
}
// Force child size recalculation
// FIXME: This sometimes doesn't have an effect
app.W.MainContainer.Hide()
app.W.MainContainer.Show()
app.W.MenuItemHideUI.SetActive(hideUI)
}