commit | 13766eb1e46452affd12f2b944730e136c6a2dda | [log] [tgz] |
---|---|---|
author | Andreas Färber <andreas.faerber@web.de> | Sun Oct 30 23:19:54 2011 +0100 |
committer | Andreas Färber <andreas.faerber@web.de> | Tue Nov 01 20:41:06 2011 +0100 |
tree | fff4fdc354819016d47e9e275cc100990357dbc7 | |
parent | db529aabfac17201d3647384abf89fc7f272b493 [diff] |
cocoa: Close sheet after image file selection If no disk image is specified, the Cocoa frontend displays a modal sheet to let the user select an image file to boot from. This sheet is never closed and it permanently obscures the emulator window. Close it after obtaining the file name in case the user did select a file. Otherwise we exit immediately, so no need to close then. Signed-off-by: Juan Pineda <juan@logician.com> Signed-off-by: Andreas Färber <andreas.faerber@web.de>