removed autoscoll and gotobottom from emotepopup

This commit is contained in:
2017-12-28 00:48:21 +01:00
parent 4aa995c74a
commit ece0482502
3 changed files with 19 additions and 2 deletions
+3
View File
@@ -95,6 +95,8 @@ public:
QString getSelectedText();
bool hasSelection();
void clearSelection();
void setEnableScrollingToBottom(bool);
bool getEnableScrollingToBottom() const;
void setChannel(std::shared_ptr<Channel> channel);
messages::LimitedQueueSnapshot<messages::SharedMessageRef> getMessagesSnapshot();
@@ -147,6 +149,7 @@ private:
// This variable can be used to decide whether or not we should render the "Show latest
// messages" button
bool showingLatestMessages = true;
bool enableScrollingToBottom = true;
AccountPopupWidget userPopupWidget;
bool onlyUpdateEmotes = false;