pull/1748/head
Nicolas Werner 8 months ago
parent 4723b677d5
commit 96a066f246
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 10
      src/timeline/InputBar.h

@ -194,16 +194,16 @@ public slots:
void storeForEdit()
{
textBeforeEdit = text();
mentionsBefore = mentions_;
mentionTextsBefore = mentionTexts_;
textBeforeEdit = text();
mentionsBefore = mentions_;
mentionTextsBefore = mentionTexts_;
containsAtRoomBefore = containsAtRoom_;
emit mentionsChanged();
}
void restoreAfterEdit()
{
mentions_ = mentionsBefore;
mentionTexts_ = mentionTextsBefore;
mentions_ = mentionsBefore;
mentionTexts_ = mentionTextsBefore;
containsAtRoom_ = containsAtRoomBefore;
mentionsBefore.clear();
mentionTextsBefore.clear();

Loading…
Cancel
Save