diff --git a/Userland/Applications/ImageViewer/ViewWidget.cpp b/Userland/Applications/ImageViewer/ViewWidget.cpp index c2382f96db5..dc03eaca409 100644 --- a/Userland/Applications/ImageViewer/ViewWidget.cpp +++ b/Userland/Applications/ImageViewer/ViewWidget.cpp @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -267,7 +268,7 @@ void ViewWidget::load_from_file(const String& path) m_timer->stop(); } - m_path = path; + m_path = Core::File::real_path_for(path); m_scale = -1; reset_view(); }