mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-25 14:05:12 +00:00
GUI: extension check for keybinds/colors/layout
This commit is contained in:
parent
4d23c1dc6d
commit
743664aad1
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue