Infinity Base: Figure Name Fix

This commit is contained in:
Joshua de Reeper 2023-05-11 09:42:54 +12:00
parent cf3e8714eb
commit 2c98efaa5c
2 changed files with 1 additions and 3 deletions

View File

@ -738,7 +738,7 @@ std::string InfinityBase::FindFigure(u32 number) const
return it->first;
}
}
return "";
return "Unknown Figure";
}
u8 InfinityBase::DeriveFigurePosition(u8 position)

View File

@ -139,8 +139,6 @@ void InfinityBaseWindow::LoadFigure(u8 slot)
s_last_figure_path = QFileInfo(file_path).absolutePath() + QLatin1Char('/');
m_edit_figures[slot]->setText(QFileInfo(file_path).fileName());
LoadFigurePath(slot, file_path);
}