Fix a problem when exporting a single layer or anim frame, the chosen format was kept as the file's 'current format'. Also improve Brush load/save which has now mostly separate settings
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2002 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -2018,8 +2018,7 @@ byte Button_Load_or_Save(byte load, T_IO_Context *context)
|
||||
else // Sinon on essaye de charger ou sauver le fichier
|
||||
{
|
||||
strcpy(context->File_directory,Main_current_directory);
|
||||
if (!load && !Get_fileformat(Main_format)->Palette_only)
|
||||
Main_fileformat=Main_format;
|
||||
context->Format = Main_format;
|
||||
save_or_load_image=1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user