fix issue 46 "ghost cursors"

see http://pulkomandy.tk/projects/GrafX2/ticket/46
One has to be with the cursor shown before calling Error(0)
This commit is contained in:
Thomas Bernard 2018-01-18 14:08:23 +01:00
parent 7b69b171ff
commit e078b3afe1

View File

@ -2090,7 +2090,11 @@ byte Button_Load_or_Save(T_Selector_settings *settings, byte load, T_IO_Context
Highlight_file(Find_file_in_fileselector(&Filelist, previous_directory));
}
else
{
Display_cursor();
Error(0);
Hide_cursor();
}
// Affichage des premiers fichiers visibles:
Prepare_and_display_filelist(Selector->Position,Selector->Offset,file_scroller);
Display_cursor();