App doesn't crash when attempting to open bad file through double click

This commit is contained in:
Yousef Khadadeh 2026-06-04 17:16:26 +03:00
parent 354c6e4cdc
commit 12bb936c16
5 changed files with 11 additions and 15 deletions

View file

@ -361,7 +361,6 @@ void MainProgram::set_tab_to_close(World* world) {
void MainProgram::switch_to_tab(size_t wIndex) {
world = worlds[wIndex];
worldIndex = wIndex;
}
void MainProgram::post_callback() {