mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
HackStudio: Fix inverted condition when trying to create directories
This commit is contained in:
parent
23ea5c6721
commit
55e9192886
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