summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-09 15:33:38 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-09 15:33:38 +0200
commitf5432da19aa3f1dad6282cd36b228a4467b386b7 (patch)
tree3c91ee209bb380a840557bd21af1b2820a0530bc /src/ui
parent4ae755de3ff4a37763aacc22ea119edab2099e84 (diff)
SidebarWidget: Update after identity addition/deletion
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/sidebarwidget.c4
1 files changed, 4 insertions, 0 deletions
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)
1392 } 1392 }
1393 } 1393 }
1394 } 1394 }
1395 else if (equal_Command(cmd, "idents.changed") && d->mode == identities_SidebarMode) {
1396 updateItems_SidebarWidget_(d);
1397 return iTrue;
1398 }
1395 else if (isPortraitPhone_App() && isVisible_Widget(w) && d->side == left_SidebarSide && 1399 else if (isPortraitPhone_App() && isVisible_Widget(w) && d->side == left_SidebarSide &&
1396 equal_Command(cmd, "swipe.forward")) { 1400 equal_Command(cmd, "swipe.forward")) {
1397 postCommand_App("sidebar.toggle"); 1401 postCommand_App("sidebar.toggle");