aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/text_file_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text_file_functions.cpp b/src/text_file_functions.cpp
index 91660c9..7d80b4e 100644
--- a/src/text_file_functions.cpp
+++ b/src/text_file_functions.cpp
@@ -383,9 +383,9 @@ QString AOApplication::get_image_suffix(VPath path_to_check, bool static_image)
QStringList suffixes{};
if (!static_image)
{
- suffixes.append({".webp", ".apng", ".gif"});
+ suffixes.append({".apng", ".gif"});
}
- suffixes.append(".png");
+ suffixes.append({".avif", ".webp", ".png"});
// Check if we were provided a direct filepath with a suffix already
QString path = path_to_check.toQString();