Skip to contentSkip to conversation

Fixes a bug that prevented the open sheet from closing after the "Boot image" button was pushed.

PATCH New G 3 1 participant 1 message Jul 13, 2009

lore
Share & tools
lore

G 3

author
#0 lore raw

PATCH 1/1 Fixes a bug that prevented the open sheet from closing after the "Boot image" button was pushed.

This patch fixes a bug with the openPanelDidEnd method that left the open sheet up, even after the "Boot image" button was pushed.

---
 cocoa.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cocoa.m +1 -1
index 55ff2b4..b655dcc 100644
@@ -793,7 +793,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