Skip to content

Commit

Permalink
Add return
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsakh committed Nov 2, 2018
1 parent b25f3ed commit e7976df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atom/browser/native_window_views.cc
Expand Up @@ -902,6 +902,7 @@ void NativeWindowViews::SetMenu(AtomMenuModel* menu_model) {
if (menu_model == nullptr) {
global_menu_bar_.reset();
root_view_->UnregisterAcceleratorsWithFocusManager();
return;
}

if (!global_menu_bar_ && ShouldUseGlobalMenuBar())
Expand Down

0 comments on commit e7976df

Please sign in to comment.