fix possible npe in project settings on non open project editor #288