fix: Copy Shortcut Not Working In Reply Thread Popup (#4209)

This commit is contained in:
nerix
2022-12-03 14:02:39 +01:00
committed by GitHub
parent 6ee7ef8cab
commit 8d4ee72478
8 changed files with 31 additions and 14 deletions
+3 -1
View File
@@ -22,6 +22,7 @@ class InputCompletionPopup;
class EffectLabel;
class MessageThread;
class ResizingTextEdit;
class ChannelView;
// MessageOverflow is used for controlling how to guide the user into not
// sending a message that will be discarded by Twitch
@@ -42,7 +43,7 @@ class SplitInput : public BaseWidget
public:
SplitInput(Split *_chatWidget, bool enableInlineReplying = true);
SplitInput(QWidget *parent, Split *_chatWidget,
SplitInput(QWidget *parent, Split *_chatWidget, ChannelView *_channelView,
bool enableInlineReplying = true);
bool hasSelection() const;
@@ -124,6 +125,7 @@ protected:
bool shouldPreventInput(const QString &text) const;
Split *const split_;
ChannelView *const channelView_;
QObjectRef<EmotePopup> emotePopup_;
QObjectRef<InputCompletionPopup> inputCompletionPopup_;