GUI: extension check for keybinds/colors/layout

This commit is contained in:
tildearrow 2022-04-06 14:45:58 -05:00
parent 4d23c1dc6d
commit 743664aad1

View file

@ -2687,6 +2687,15 @@ bool FurnaceGUI::loop() {
if (curFileDialog==GUI_FILE_EXPORT_VGM) {
checkExtension(".vgm");
}
if (curFileDialog==GUI_FILE_EXPORT_COLORS) {
checkExtension(".cfgc");
}
if (curFileDialog==GUI_FILE_EXPORT_KEYBINDS) {
checkExtension(".cfgk");
}
if (curFileDialog==GUI_FILE_EXPORT_LAYOUT) {
checkExtension(".ini");
}
String copyOfName=fileName;
switch (curFileDialog) {
case GUI_FILE_OPEN: