mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
HackStudio: Fix inverted condition when trying to create directories
This commit is contained in:
parent
23ea5c6721
commit
55e9192886
Notes:
sideshowbarker
2024-07-17 12:06:27 +09:00
Author: https://github.com/stelar7
Commit: 55e9192886
Pull-request: https://github.com/SerenityOS/serenity/pull/13621
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void NewProjectDialog::do_create_project()
|
|||
return;
|
||||
|
||||
auto created = Core::Directory::create(maybe_project_full_path.value(), Core::Directory::CreateDirectories::Yes);
|
||||
if (!created.is_error()) {
|
||||
if (created.is_error()) {
|
||||
GUI::MessageBox::show_error(this, String::formatted("Could not create directory {}", create_in));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue