mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 16:14:23 +00:00
HackStudio: Fix inverted condition when trying to create directories
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user