mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
HackStudio: Fix inverted condition when trying to create directories
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 12:06:27 +09:00
Author: https://github.com/stelar7 Commit: https://github.com/SerenityOS/serenity/commit/55e9192886 Pull-request: https://github.com/SerenityOS/serenity/pull/13621
@@ -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