Fix an hourglass cursor when loading a file from command-line (recent bug). Fix issue 307: Drop-opened files do not retain name in Save-as dialog.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1346 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -690,6 +690,9 @@ void Load_image(T_IO_Context *context)
|
||||
{
|
||||
Palette_loaded(context);
|
||||
}
|
||||
Hide_cursor();
|
||||
Cursor_shape=CURSOR_SHAPE_ARROW;
|
||||
Display_cursor();
|
||||
break;
|
||||
|
||||
case CONTEXT_BRUSH:
|
||||
@@ -700,6 +703,9 @@ void Load_image(T_IO_Context *context)
|
||||
Flush_update();
|
||||
if (Convert_24b_bitmap_to_256(Brush,context->Buffer_image_24b,context->Width,context->Height,context->Palette))
|
||||
File_error=2;
|
||||
Hide_cursor();
|
||||
Cursor_shape=CURSOR_SHAPE_ARROW;
|
||||
Display_cursor();
|
||||
break;
|
||||
|
||||
case CONTEXT_PREVIEW:
|
||||
|
||||
Reference in New Issue
Block a user