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:
@@ -186,6 +186,8 @@ GIFView::GIFView(TranslatorSettings* settings)
|
||||
SetExplicitPreferredSize(BSize((font.Size() * 400) / 12,
|
||||
(font.Size() * 300) / 12));
|
||||
|
||||
fSettings->Acquire();
|
||||
|
||||
RestorePrefs();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user