mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
impr: Close tutorial view when a tutorial is started
This commit is contained in:
@@ -53,6 +53,7 @@ namespace hex::plugin::builtin {
|
||||
ImGui::BeginDisabled(currTutorial != tutorials.end());
|
||||
if (ImGuiExt::DimmedButton("hex.builtin.view.tutorials.start"_lang, ImVec2(ImGui::GetContentRegionAvail().x, 0))) {
|
||||
TutorialManager::startTutorial(m_selectedTutorial->getUnlocalizedName());
|
||||
this->getWindowOpenState() = false;
|
||||
}
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user