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:
Yves Rizoud
2010-02-14 01:39:56 +00:00
parent 76887dd84d
commit 25e8943e4c
3 changed files with 25 additions and 10 deletions

View File

@@ -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: