App doesn't crash when attempting to open bad file through double click
This commit is contained in:
parent
354c6e4cdc
commit
12bb936c16
5 changed files with 11 additions and 15 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue