summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorMustafa Quraish <mustafaq9@gmail.com>2022-01-04 22:12:24 -0500
committerAndreas Kling <kling@serenityos.org>2022-01-05 12:08:20 +0100
commite2c73a114d387556011735b296a6304c528137ca (patch)
treec4f5c3650ec66bb21b2d0208e4557fa6203bf0c8 /Userland
parentc03f271bbf76f4497f5290fb4ea2880cad232112 (diff)
downloadserenity-e2c73a114d387556011735b296a6304c528137ca.zip
PixelPaint: Use 'save' action in toolbar instead of 'save as'
I think this is likely the more common operation and makes more sense in the toolbar. It calls the 'save as' action internally anyway if there is no associated file.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/PixelPaint/MainWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp
index 56f00d606b..3fddce4a44 100644
--- a/Userland/Applications/PixelPaint/MainWidget.cpp
+++ b/Userland/Applications/PixelPaint/MainWidget.cpp
@@ -651,7 +651,7 @@ void MainWidget::initialize_menubar(GUI::Window& window)
auto& toolbar = *find_descendant_of_type_named<GUI::Toolbar>("toolbar");
toolbar.add_action(*m_new_image_action);
toolbar.add_action(*m_open_image_action);
- toolbar.add_action(*m_save_image_as_action);
+ toolbar.add_action(*m_save_image_action);
toolbar.add_separator();
toolbar.add_action(*m_copy_action);
toolbar.add_action(*m_paste_action);