summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorstelar7 <dudedbz@gmail.com>2022-04-11 16:21:40 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-11 16:44:36 +0200
commit55e91928868bc2a357d4e82aceed7bcb80b21f2c (patch)
tree042076b38f79c5927e2110159dd4c72080b0c498 /Userland/DevTools
parent23ea5c6721e4cf71be3ffefd88cd3d9d4cc34825 (diff)
downloadserenity-55e91928868bc2a357d4e82aceed7bcb80b21f2c.zip
HackStudio: Fix inverted condition when trying to create directories
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp b/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
index 2f4a4358b6..d2664248a0 100644
--- a/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
+++ b/Userland/DevTools/HackStudio/Dialogs/NewProjectDialog.cpp
@@ -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;
}