Ladybird/AppKit: Enable reload action

Is necessary, since history navigation was refactored
This commit is contained in:
Kevin Meyer 2024-07-02 17:00:50 +02:00 committed by Tim Flynn
parent af90978454
commit 8a7afffdd3
Notes: sideshowbarker 2024-07-17 06:51:40 +09:00

View file

@ -421,7 +421,7 @@ static NSString* const TOOLBAR_TAB_OVERVIEW_IDENTIFIER = @"ToolbarTabOverviewIde
auto* button = [self create_button:NSImageNameRefreshTemplate
with_action:@selector(reload:)
with_tooltip:@"Reload page"];
[button setEnabled:NO];
[button setEnabled:YES];
_reload_toolbar_item = [[NSToolbarItem alloc] initWithItemIdentifier:TOOLBAR_RELOAD_IDENTIFIER];
[_reload_toolbar_item setView:button];