GUI: and here is the new chip selector

This commit is contained in:
tildearrow 2022-08-26 23:35:16 -05:00
parent daf176e197
commit 73f88c7635
6 changed files with 181 additions and 32 deletions

View file

@ -83,6 +83,7 @@ void FurnaceGUI::drawSysManager() {
if (picked!=DIV_SYSTEM_NULL) {
e->changeSystem(i,picked,preserveChanPos);
updateWindowTitle();
ImGui::CloseCurrentPopup();
}
ImGui::EndPopup();
}
@ -110,6 +111,7 @@ void FurnaceGUI::drawSysManager() {
showError("cannot add chip! ("+e->getLastError()+")");
}
updateWindowTitle();
ImGui::CloseCurrentPopup();
}
ImGui::EndPopup();
}