summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/ImageEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/PixelPaint/ImageEditor.cpp')
-rw-r--r--Userland/Applications/PixelPaint/ImageEditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/ImageEditor.cpp b/Userland/Applications/PixelPaint/ImageEditor.cpp
index 684d1839b7..8a3ffb26d9 100644
--- a/Userland/Applications/PixelPaint/ImageEditor.cpp
+++ b/Userland/Applications/PixelPaint/ImageEditor.cpp
@@ -102,7 +102,7 @@ void ImageEditor::set_title(String title)
void ImageEditor::set_path(String path)
{
m_path = move(path);
- set_title(LexicalPath::basename(m_path));
+ set_title(LexicalPath::title(m_path));
}
void ImageEditor::paint_event(GUI::PaintEvent& event)