GIFTranslator: Increment settings refcount

So that the settings object won't be destroyed when released on the
the view destructor.

Fixes #10646
This commit is contained in:
John Scipione
2014-03-06 19:19:04 -05:00
parent b365777b74
commit e3e82c7972
+2
View File
@@ -186,6 +186,8 @@ GIFView::GIFView(TranslatorSettings* settings)
SetExplicitPreferredSize(BSize((font.Size() * 400) / 12,
(font.Size() * 300) / 12));
fSettings->Acquire();
RestorePrefs();
}