Closed darvil82 closed 2 years ago
Currently crashing when importing a file if no file was opened before. Investigating.
Found crash point:
// Select the correct image format
for (int i = 0; i < util::ArraySize(IMAGE_FORMATS); ++i) {
if (IMAGE_FORMATS[i].format == file->GetFormat()) {
// FIXME: IT CRASHES HERE
formatCombo_->setCurrentIndex(i);
break;
}
}
At line 520, the program segfaults. Note that this only happens if the first thing done by the user is import the file.
Definitely, next time I'll use rebase. Thank you very much <3