Revert "panel-list: Switch to main list if custom sidebar is not set"

This reverts commit bc919b82c0.
This commit is contained in:
Georges Basile Stavracas Neto 2023-01-09 16:40:55 -03:00
parent 6bcfb28f67
commit 20a010d0f6

View file

@ -1090,10 +1090,6 @@ cc_panel_list_add_sidebar_widget (CcPanelList *self,
gtk_stack_add_named (self->stack, widget, "custom-widget");
switch_to_view (self, CC_PANEL_LIST_WIDGET);
}
else
{
switch_to_view (self, CC_PANEL_LIST_MAIN);
}
}
void