Rename PopupContexts() to CurrentPopup()

... for consistency with CurrentSide().
This commit is contained in:
Stefan Haller 2024-08-08 10:32:19 +02:00
parent df3afb1b89
commit 3a8b97841f
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ func (self *guiCommon) RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error) {
}
func (self *guiCommon) CurrentPopupContexts() []types.Context {
return self.gui.State.ContextMgr.PopupContexts()
return self.gui.State.ContextMgr.CurrentPopup()
}
func (self *guiCommon) IsCurrentContext(c types.Context) bool {