diff --git a/src/tutorialmanager.cpp b/src/tutorialmanager.cpp index 5fb400b9..d9ac5974 100644 --- a/src/tutorialmanager.cpp +++ b/src/tutorialmanager.cpp @@ -25,6 +25,7 @@ along with Mod Organizer. If not, see . #include #include #include +#include namespace MOBase { @@ -92,7 +93,9 @@ void TutorialManager::registerControl(const QString& windowName, std::map::iterator iter = m_PendingTutorials.find(windowName); if (iter != m_PendingTutorials.end()) { // there is a pending tutorial for this window, display it - control->startTutorial(m_TutorialPath + iter->second); + QTimer::singleShot(0, [=] { + control->startTutorial(m_TutorialPath + iter->second); + }); m_PendingTutorials.erase(iter); } }