Bug 428329 - Closing the main window without first closing the customization dialog can lead to loss of all toolbar items, if the document goes away first and we persist nothing but 'undefined' as the currentset, r=mkmelin
git-svn-id: svn://10.0.0.236/trunk@250106 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7d7aebc8d8
commit
a83f4ab5b2
@ -180,7 +180,7 @@ function getToolbarAt(i)
|
||||
*/
|
||||
function persistCurrentSets()
|
||||
{
|
||||
if (!gToolboxChanged)
|
||||
if (!gToolboxChanged || gToolboxDocument.defaultView.closed)
|
||||
return;
|
||||
|
||||
var customCount = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user