skip demo download prompt if ssl is unavailable

(cherry picked from commit 0071c04dcb)
This commit is contained in:
Emanuele Fornara 2018-03-04 11:40:40 +01:00 committed by Hein-Pieter van Braam
parent 30b5265417
commit 28d4271e3e
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ void ProjectManager::_notification(int p_what) {
} break;
case NOTIFICATION_READY: {
if (scroll_children->get_child_count() == 0)
if (scroll_children->get_child_count() == 0 && StreamPeerSSL::is_available())
open_templates->popup_centered_minsize();
} break;
case NOTIFICATION_VISIBILITY_CHANGED: {