Moved image uploader confirmation setting to external tools page (#2923)

This commit is contained in:
Mm2PL 2021-06-26 14:08:44 +02:00 committed by GitHub
parent 002129009d
commit c722f085d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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: ",

View file

@ -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);