mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
modalDialog: remove old actions from _actionKeys in setButtons
https://bugzilla.gnome.org/show_bug.cgi?id=640781
This commit is contained in:
parent
e3acaa05be
commit
0310f07eab
1 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,8 @@ ModalDialog.prototype = {
|
|||
|
||||
setButtons: function(buttons) {
|
||||
this._buttonLayout.destroy_children();
|
||||
this._actionKeys = {};
|
||||
|
||||
let i = 0;
|
||||
for (let index in buttons) {
|
||||
let buttonInfo = buttons[index];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue