Commit 8ebc19f0 authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Do not show 'no project dialog' in gallery view (#1638)

Change-Id: I103da79effba61d8255d6189b6e0bcef55b8875d
parent 95df4539
...@@ -1661,7 +1661,7 @@ public class Ode implements EntryPoint { ...@@ -1661,7 +1661,7 @@ public class Ode implements EntryPoint {
projectManager.addProjectManagerEventListener(new ProjectManagerEventAdapter() { projectManager.addProjectManagerEventListener(new ProjectManagerEventAdapter() {
@Override @Override
public void onProjectsLoaded() { public void onProjectsLoaded() {
if (projectManager.projectCount() == 0 && !templateLoadingFlag) { if (projectManager.projectCount() == 0 && !templateLoadingFlag && !galleryIdLoadingFlag) {
ErrorReporter.hide(); // hide the "Please choose a project" message ErrorReporter.hide(); // hide the "Please choose a project" message
createNoProjectsDialog(true); createNoProjectsDialog(true);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment