From a80ed3db8e0155eb4e01ce2151155c684c537b37 Mon Sep 17 00:00:00 2001 From: riidefi <34194588+riidefi@users.noreply.github.com> Date: Tue, 11 Aug 2020 02:56:47 -0400 Subject: [PATCH] :bug: Unintended switch fallthrough --- source/frontend/editor/ImporterWindow.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/frontend/editor/ImporterWindow.cpp b/source/frontend/editor/ImporterWindow.cpp index 661c99944..8a697bf52 100644 --- a/source/frontend/editor/ImporterWindow.cpp +++ b/source/frontend/editor/ImporterWindow.cpp @@ -44,8 +44,13 @@ void ImporterWindow::draw() { // Keep asking.. if (!answered) return; + + // The consumer will construct the state + process(); + break; } case State::ResolveDependencies: { + assert(transaction.has_value()); unsigned num = 0; for (auto& vec : transaction->resolvedFiles) if (vec.empty())