Skip to contentSkip to conversation

Fixes a bug that prevents the open panel from closing when the "Boot Image" button is pushed.

PATCH New G 3 1 participant 1 message Jun 27, 2009

lore
Share & tools
lore

G 3

author
#0 lore raw

PATCH 1/2 Fixes a bug that prevents the open panel from closing when the "Boot Image" button is pushed.

This patch fixes a bug that would keep the open panel/sheet open even after a the "Boot Image" button was pushed.

---
 cocoa.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cocoa.m +1 -1
index 0b0f555..232d0bb 100644
@@ -801,7 +801,7 @@ int cocoa_keycode_to_qemu(int keycode)
         asprintf(&argv[2], "%s", img);
 
         printf("Using argc %d argv %s -hda %s\n", 3, bin, img);
-
+		[sheet close];
         [self startEmulationWithArgc:3 argv:(char**)argv];
     }
 }
Signature · 1 line
1.6.3.3