mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +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;
|
return;
|
||||||
|
|
||||||
auto created = Core::Directory::create(maybe_project_full_path.value(), Core::Directory::CreateDirectories::Yes);
|
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));
|
GUI::MessageBox::show_error(this, String::formatted("Could not create directory {}", create_in));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue