Replace CurrentPopupContexts() with Context().CurrentPopup()

This commit is contained in:
Stefan Haller 2024-08-08 10:34:06 +02:00
parent 3a8b97841f
commit f30387e7f5
4 changed files with 2 additions and 6 deletions

View file

@ -325,7 +325,7 @@ func (self *ConfirmationHelper) getSelectedSuggestionValue() string {
func (self *ConfirmationHelper) ResizeCurrentPopupPanels() {
var parentPopupContext types.Context
for _, c := range self.c.CurrentPopupContexts() {
for _, c := range self.c.Context().CurrentPopup() {
switch c {
case self.c.Contexts().Menu:
self.resizeMenu(parentPopupContext)