Add a Send button that can be used to send messages (#4607)
This button is disabled by default, and can be enabled with the "Show send message button" setting.
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
#include "BaseSettings.hpp"
|
||||
#include "common/Channel.hpp"
|
||||
#include "common/enums/MessageOverflow.hpp"
|
||||
#include "common/SignalVector.hpp"
|
||||
#include "controllers/logging/ChannelLog.hpp"
|
||||
#include "singletons/Toasts.hpp"
|
||||
#include "util/RapidJsonSerializeQString.hpp"
|
||||
#include "util/StreamerMode.hpp"
|
||||
#include "widgets/Notebook.hpp"
|
||||
#include "widgets/splits/SplitInput.hpp"
|
||||
|
||||
#include <pajlada/settings/setting.hpp>
|
||||
#include <pajlada/settings/settinglistener.hpp>
|
||||
@@ -509,6 +509,8 @@ public:
|
||||
IntSetting lastSelectChannelTab = {"/ui/lastSelectChannelTab", 0};
|
||||
IntSetting lastSelectIrcConn = {"/ui/lastSelectIrcConn", 0};
|
||||
|
||||
BoolSetting showSendButton = {"/ui/showSendButton", false};
|
||||
|
||||
// Similarity
|
||||
BoolSetting similarityEnabled = {"/similarity/similarityEnabled", false};
|
||||
BoolSetting colorSimilarDisabled = {"/similarity/colorSimilarDisabled",
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "util/CombinePath.hpp"
|
||||
#include "util/PostToThread.hpp"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDesktopServices>
|
||||
#include <QMessageBox>
|
||||
#include <QProcess>
|
||||
|
||||
Reference in New Issue
Block a user