From 1baa2b266da7d1761f4ce990b00f61830e8c7b44 Mon Sep 17 00:00:00 2001 From: fourtf Date: Fri, 11 Sep 2020 17:07:06 +0200 Subject: [PATCH] add a settings for the duplicate message sending --- src/widgets/settingspages/GeneralPage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/widgets/settingspages/GeneralPage.cpp b/src/widgets/settingspages/GeneralPage.cpp index 47883c0c0..655729034 100644 --- a/src/widgets/settingspages/GeneralPage.cpp +++ b/src/widgets/settingspages/GeneralPage.cpp @@ -378,6 +378,8 @@ void GeneralPage::initLayout(SettingsLayout &layout) s.enableSmoothScrollingNewMessages); layout.addCheckbox("Show input when it's empty", s.showEmptyInput); layout.addCheckbox("Show message length while typing", s.showMessageLength); + layout.addCheckbox("Allow sending duplicate messages", + s.allowDuplicateMessages); layout.addTitle("Messages"); layout.addCheckbox("Separate with lines", s.separateMessages);