FileManager extensions

More
5 years 11 months ago #189849 by cmorley
Replied by cmorley on topic FileManager extensions
Gcode (*.ngc) and All (*) are always added. Is that problematic?
More
5 years 11 months ago #189850 by phillc54
Replied by phillc54 on topic FileManager extensions
If I click on GCode then the .tap and .nc files show but the .ngc ones don't.

If I add .ngc file to the filter then click GCode .ngc .tap and .nc files all show.

It would be nice if the files in the filter could be set as the default and also if the extensions were shown in the ComboBox.
More
5 years 11 months ago #189851 by cmorley
Replied by cmorley on topic FileManager extensions
This will work (aside from the default entry is still there)
Code:
PROGRAM_EXTENSION = .ngc,.nc,.tap G-Code File (*.ngc,*.nc,*.tap)

I'll have to rethink the always added default entries.
More
5 years 11 months ago - 5 years 11 months ago #189852 by phillc54
Replied by phillc54 on topic FileManager extensions

cmorley wrote: This will work (aside from the default entry is still there)

Code:
PROGRAM_EXTENSION = .ngc,.nc,.tap G-Code File (*.ngc,*.nc,*.tap)

Of course it would, I should have seen that...:blush:


I'll have to rethink the always added default entries.

How about a magic comment, say 'default' at the end of the PROGRAM_EXTENSION if you want that to be the default.
Last edit: 5 years 11 months ago by phillc54.
More
5 years 11 months ago #189853 by cmorley
Replied by cmorley on topic FileManager extensions
I think I'll add a default only if the INI entry is missing - otherwise you won;t see any files.
More
5 years 11 months ago #189855 by phillc54
Replied by phillc54 on topic FileManager extensions

cmorley wrote: I think I'll add a default only if the INI entry is missing - otherwise you won;t see any files.

That sounds OK, the All Files is a handy backstop though.

This is what Axis does:
Warning: Spoiler!
Moderators: cmorley
Time to create page: 2.965 seconds
Powered by Kunena Forum