Add 'Reload' in application menu. Fixes atom/atom-shell#4.
This commit is contained in:
parent
072ac8ba0b
commit
06142aa2e8
2 changed files with 30 additions and 2 deletions
|
@ -65,6 +65,10 @@
|
|||
shell_ = shell;
|
||||
}
|
||||
|
||||
- (IBAction)reload:(id)sender {
|
||||
shell_->GetWebContents()->GetController().ReloadIgnoringCache(false);
|
||||
}
|
||||
|
||||
- (IBAction)showDevTools:(id)sender {
|
||||
shell_->OpenDevTools();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue