diff options
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 de61141f..c41a8ad1 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -816,6 +816,10 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev) | |||
816 | else if (equal_Command(cmd, "idents.changed") && d->mode == identities_SidebarMode) { | 816 | else if (equal_Command(cmd, "idents.changed") && d->mode == identities_SidebarMode) { |
817 | updateItems_SidebarWidget_(d); | 817 | updateItems_SidebarWidget_(d); |
818 | } | 818 | } |
819 | else if (deviceType_App() == tablet_AppDeviceType && equal_Command(cmd, "toolbar.showident")) { | ||
820 | postCommandf_App("sidebar.mode arg:%d toggle:1", identities_SidebarMode); | ||
821 | return iTrue; | ||
822 | } | ||
819 | else if (startsWith_CStr(cmd, cstr_String(&d->cmdPrefix))) { | 823 | else if (startsWith_CStr(cmd, cstr_String(&d->cmdPrefix))) { |
820 | if (handleSidebarCommand_SidebarWidget_(d, cmd + size_String(&d->cmdPrefix))) { | 824 | if (handleSidebarCommand_SidebarWidget_(d, cmd + size_String(&d->cmdPrefix))) { |
821 | return iTrue; | 825 | return iTrue; |