mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix NPE on first startup, if there is no screenshot lying around from a previous run
This commit is contained in:
parent
dcce78fffb
commit
fdcba035a3
@ -1119,6 +1119,8 @@ abstract public class GeckoApp
|
||||
if (placeholderClient != null) {
|
||||
mLayerController = new LayerController(this, placeholderClient);
|
||||
placeholderClient.init();
|
||||
} else {
|
||||
mLayerController = new LayerController(this, null);
|
||||
}
|
||||
|
||||
mGeckoLayout.addView(mLayerController.getView());
|
||||
|
Loading…
Reference in New Issue
Block a user