summaryrefslogtreecommitdiff
path: root/Libraries/LibC/stdio.cpp
diff options
context:
space:
mode:
authorBrandon Scott <xeons@users.noreply.github.com>2019-10-23 17:51:29 -0500
committerAndreas Kling <awesomekling@gmail.com>2019-10-24 09:57:27 +0200
commitbddabad3d9c1dce986d9d71538ecd376bdb286a0 (patch)
treedf829d1931c44f5ca9774179735cc3dd8d6462eb /Libraries/LibC/stdio.cpp
parente3fbd2fe60fce495f3544f5a9356edce73979d8d (diff)
downloadserenity-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