From c722f085d0d93357cc6f659bb371da99bfaf05e6 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Sat, 26 Jun 2021 14:08:44 +0200 Subject: [PATCH] Moved image uploader confirmation setting to external tools page (#2923) --- src/widgets/settingspages/ExternalToolsPage.cpp | 3 +++ src/widgets/settingspages/GeneralPage.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/widgets/settingspages/ExternalToolsPage.cpp b/src/widgets/settingspages/ExternalToolsPage.cpp index 3496d906f..1d19b91e4 100644 --- a/src/widgets/settingspages/ExternalToolsPage.cpp +++ b/src/widgets/settingspages/ExternalToolsPage.cpp @@ -121,6 +121,9 @@ ExternalToolsPage::ExternalToolsPage() groupLayout->addRow(this->createCheckBox( "Enable image uploader", getSettings()->imageUploaderEnabled)); + groupLayout->addRow( + this->createCheckBox("Ask for confirmation when uploading an image", + getSettings()->askOnImageUpload)); groupLayout->addRow( "Request URL: ", diff --git a/src/widgets/settingspages/GeneralPage.cpp b/src/widgets/settingspages/GeneralPage.cpp index 275744493..b41fb399b 100644 --- a/src/widgets/settingspages/GeneralPage.cpp +++ b/src/widgets/settingspages/GeneralPage.cpp @@ -672,8 +672,6 @@ void GeneralPage::initLayout(GeneralPageView &layout) }, false); layout.addCheckbox("Combine multiple bit tips into one", s.stackBits); - layout.addCheckbox("Ask for confirmation when uploading an image", - s.askOnImageUpload); layout.addCheckbox("Messages in /mentions highlights tab", s.highlightMentions);