qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: G 3 <programmingkidx@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Fixes a bug that prevented the open sheet from closing after the "Boot image" button was pushed.
Date: Mon, 13 Jul 2009 16:07:08 -0400	[thread overview]
Message-ID: <7698675e701a117b5daf95f418e9222d@gmail.com> (raw)

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

Signed-off-by: John Arbuckle <programmingkidx@gmail.com>

---
  cocoa.m |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cocoa.m b/cocoa.m
index 55ff2b4..b655dcc 100644
--- a/cocoa.m
+++ b/cocoa.m
@@ -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];
      }
  }
-- 
1.6.3.3

                 reply	other threads:[~2009-07-13 20:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7698675e701a117b5daf95f418e9222d@gmail.com \
    --to=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).