Skip to content

Commit

Permalink
Right-click menu: close the menu if an appIcon menu is opened.
Browse files Browse the repository at this point in the history
  • Loading branch information
franglais125 committed Oct 2, 2017
1 parent 068738c commit 5d50814
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dash.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,10 @@ var MyDash = new Lang.Class({
}

item.hideLabel();

// We need to close the dash menu if it's open
if (this._containerObject.menu.isOpen)
this._containerObject.menu.toggle();
}
else {
// I want to listen from outside when a menu is closed. I used to
Expand Down

0 comments on commit 5d50814

Please sign in to comment.