Don't display an error message when cancelling a file picking operation

This commit is contained in:
Guillaume Meunier
2025-12-15 19:00:23 +01:00
parent 5329bfd28c
commit a32a4e4182
4 changed files with 37 additions and 22 deletions
+6
View File
@@ -23,8 +23,14 @@
struct file_picker_result
{
bool accepted = false;
std::filesystem::path path;
utils::mapped_file file;
operator bool() const
{
return accepted;
}
};
class file_picker