mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Ladybird/AppKit: Enable reload action
Is necessary, since history navigation was refactored
This commit is contained in:
parent
af90978454
commit
8a7afffdd3
Notes:
sideshowbarker
2024-07-17 06:51:40 +09:00
Author: https://github.com/kevmeyer Commit: https://github.com/LadybirdBrowser/ladybird/commit/8a7afffdd3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/363 Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue