From f5432da19aa3f1dad6282cd36b228a4467b386b7 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 9 Feb 2022 15:33:38 +0200 Subject: SidebarWidget: Update after identity addition/deletion --- src/ui/sidebarwidget.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui') diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index da0ec22c..da377ac2 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c @@ -1392,6 +1392,10 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev) } } } + else if (equal_Command(cmd, "idents.changed") && d->mode == identities_SidebarMode) { + updateItems_SidebarWidget_(d); + return iTrue; + } else if (isPortraitPhone_App() && isVisible_Widget(w) && d->side == left_SidebarSide && equal_Command(cmd, "swipe.forward")) { postCommand_App("sidebar.toggle"); -- cgit v1.2.3