Add 'Reload' in application menu. Fixes atom/atom-shell#4.

This commit is contained in:
Cheng Zhao 2013-05-15 20:24:51 +08:00
parent 072ac8ba0b
commit 06142aa2e8
2 changed files with 30 additions and 2 deletions

View file

@ -65,6 +65,10 @@
shell_ = shell;
}
- (IBAction)reload:(id)sender {
shell_->GetWebContents()->GetController().ReloadIgnoringCache(false);
}
- (IBAction)showDevTools:(id)sender {
shell_->OpenDevTools();
}