diff options
author | Brandon Scott <xeons@users.noreply.github.com> | 2019-10-23 17:51:29 -0500 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-24 09:57:27 +0200 |
commit | bddabad3d9c1dce986d9d71538ecd376bdb286a0 (patch) | |
tree | df829d1931c44f5ca9774179735cc3dd8d6462eb /Libraries/LibC/stdio.cpp | |
parent | e3fbd2fe60fce495f3544f5a9356edce73979d8d (diff) | |
download | serenity-bddabad3d9c1dce986d9d71538ecd376bdb286a0.zip |
HexEditor: Fixed startup error
When attempting to open a file that doesnt exist or has permission
problems, the application would end after hitting OK on the message
box instead of starting up to an empty editor.
I believe this has something to do with the dialog event loop
interfering with the application event loop, or possibly the fact
that the window creation code is in the show() method.
To work around this I now call the open_file() method after the
show() method.
Diffstat (limited to 'Libraries/LibC/stdio.cpp')
0 files changed, 0 insertions, 0 deletions