Qt: facepalm fix in open_dir

This commit is contained in:
Megamouse 2022-12-12 18:37:19 +01:00
parent 2d5a427bd4
commit e2c1547d95

View file

@ -430,7 +430,7 @@ namespace gui
return;
}
if (!fs::is_dir && !fs::create_path(spath))
if (!fs::is_dir(spath) && !fs::create_path(spath))
{
gui_log.error("gui::utils::open_dir: Failed to create path '%s' (%s)", spath, fs::g_tls_error);
return;