Restore state only if both project and timeline are ready, Fixes #2341
Restore state only if both project and timeline are ready and not when only one so that the user returns to the same timeline view where left.
Restore state only if both project and timeline are ready and not when only one so that the user returns to the same timeline view where left.