1
Fork 0
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:
stelar7 2022-04-11 16:21:40 +02:00 committed by Andreas Kling
parent 23ea5c6721
commit 55e9192886

View file

@ -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;
}