[Cuttlefish] Set context properties before loading file

Authored by davidre on Dec 10 2019, 12:21 PM.

Description

[Cuttlefish] Set context properties before loading file

Summary:
Otherwise we load the file and the context properties are still undefined
leading to a buch ReferenceErrors because they are undefined.

Test Plan: Still works - less warnings

Reviewers: Plasma, ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D25841

Details