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
@ -84,6 +84,8 @@ ModalDialog.prototype = {
|
|||||||
|
|
||||||
setButtons: function(buttons) {
|
setButtons: function(buttons) {
|
||||||
this._buttonLayout.destroy_children();
|
this._buttonLayout.destroy_children();
|
||||||
|
this._actionKeys = {};
|
||||||
|
|
||||||
let i = 0;
|
let i = 0;
|
||||||
for (let index in buttons) {
|
for (let index in buttons) {
|
||||||
let buttonInfo = buttons[index];
|
let buttonInfo = buttons[index];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user