Bug 354531 - Moving (reordering) search engines should enable the Restore Defaults button. r=gavin.

This commit is contained in:
mozilla.mano%sent.com 2006-12-07 09:01:30 +00:00
parent 0107aac2a2
commit b92cff2ccf

View File

@ -146,6 +146,7 @@ var gEngineManagerDialog = {
gEngineView.invalidate();
gEngineView.selection.select(newIndex);
gEngineView.ensureRowIsVisible(newIndex);
this.showRestoreDefaults(true);
document.getElementById("engineList").focus();
},
@ -455,6 +456,7 @@ EngineView.prototype = {
}
this._engineStore.moveEngine(sourceEngine, dropIndex);
gEngineManagerDialog.showRestoreDefaults(true);
// Redraw, and adjust selection
this.invalidate();