summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 26473322..fcc1d807 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -1350,7 +1350,7 @@ static iBool processEvent_SidebarWidget_(iSidebarWidget *d, const SDL_Event *ev)
1350 } 1350 }
1351 else if (ev->type == SDL_USEREVENT && ev->user.code == command_UserEventCode) { 1351 else if (ev->type == SDL_USEREVENT && ev->user.code == command_UserEventCode) {
1352 const char *cmd = command_UserEvent(ev); 1352 const char *cmd = command_UserEvent(ev);
1353 if (equal_Command(cmd, "tabs.changed") || equal_Command(cmd, "document.changed")) { 1353 if (startsWith_CStr(cmd, "tabs.changed id:doc") || equal_Command(cmd, "document.changed")) {
1354 updateItems_SidebarWidget_(d); 1354 updateItems_SidebarWidget_(d);
1355 scrollOffset_ListWidget(d->list, 0); 1355 scrollOffset_ListWidget(d->list, 0);
1356 } 1356 }