summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/PixelPaint/MainWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp
index 19a03b1f72..a1f9396917 100644
--- a/Userland/Applications/PixelPaint/MainWidget.cpp
+++ b/Userland/Applications/PixelPaint/MainWidget.cpp
@@ -712,6 +712,7 @@ void MainWidget::open_image_fd(int fd, String const& path)
auto& image = *m_loader.release_image();
auto& editor = create_new_editor(image);
editor.set_path(path);
+ editor.undo_stack().set_current_unmodified();
m_layer_list_widget->set_image(&image);
}