ladybird/Userland/DevTools/Playground
Karol Kosek c9c55d86a4 Userland: Ask first for unsaved changes after clicking an "Open" action
Previously there was some inconsistency between the apps when clicking
the "Open" action while the file wasn't saved.

Some programs (Font Editor) immediately asked you if you wanted to save
the modified file, while others (Text Editor, Hex Editor and Playground)
would show the save dialog only *after* you selected a file.

I think it's better to ask a user right away if they want to save file,
because a dialog after selecting a file should be generally related to
that selected file, like an error opening a file, an import window etc.
2022-02-21 18:30:32 +01:00
..
CMakeLists.txt Playground: Port to LibMain :^) 2021-11-24 00:25:23 +01:00
main.cpp Userland: Ask first for unsaved changes after clicking an "Open" action 2022-02-21 18:30:32 +01:00