summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-06-09 15:56:09 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2024-06-09 15:56:09 +0200
commit96a066f2469621a6d38de7c3fa0621334d418099 (patch)
treeca30eb0e93f8127e7c490a293286d5f9e93a0df5 /src
parentPrevent shortcuts from inserting unprintable characters by accident (diff)
downloadnheko-96a066f2469621a6d38de7c3fa0621334d418099.tar.xz
lint
Diffstat (limited to 'src')
-rw-r--r--src/timeline/InputBar.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h

index 2b1c84e4..5e885d4f 100644 --- a/src/timeline/InputBar.h +++ b/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();