filedialog: Don't assert too much
The GtkFileDialog code was asserting that we get exactly one file back. But the function is nullable anyway, so lets just return NULL if we don't have a file.
Fixes: #5975 (closed)
The GtkFileDialog code was asserting that we get exactly one file back. But the function is nullable anyway, so lets just return NULL if we don't have a file.
Fixes: #5975 (closed)