diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-09 15:33:38 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-09 15:33:38 +0200 |
commit | f5432da19aa3f1dad6282cd36b228a4467b386b7 (patch) | |
tree | 3c91ee209bb380a840557bd21af1b2820a0530bc /src | |
parent | 4ae755de3ff4a37763aacc22ea119edab2099e84 (diff) |
SidebarWidget: Update after identity addition/deletion
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/sidebarwidget.c | 4 |
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"); |