mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 354531 - Moving (reordering) search engines should enable the Restore Defaults button. r=gavin.
This commit is contained in:
parent
0107aac2a2
commit
b92cff2ccf
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user