Skip to content

Commit

Permalink
Do not show 'no project dialog' in gallery view (mit-cml#1638)
Browse files Browse the repository at this point in the history
Change-Id: I103da79effba61d8255d6189b6e0bcef55b8875d
  • Loading branch information
ewpatton authored and jisqyv committed Mar 28, 2019
1 parent 95df453 commit 8ebc19f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ private void maybeShowNoProjectsDialog() {
projectManager.addProjectManagerEventListener(new ProjectManagerEventAdapter() {
@Override
public void onProjectsLoaded() {
if (projectManager.projectCount() == 0 && !templateLoadingFlag) {
if (projectManager.projectCount() == 0 && !templateLoadingFlag && !galleryIdLoadingFlag) {
ErrorReporter.hide(); // hide the "Please choose a project" message
createNoProjectsDialog(true);
}
Expand Down

0 comments on commit 8ebc19f

Please sign in to comment.