summaryrefslogtreecommitdiffstats
path: root/ui/src/components/mail/listing/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/mail/listing/thread.rs')
-rw-r--r--ui/src/components/mail/listing/thread.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/src/components/mail/listing/thread.rs b/ui/src/components/mail/listing/thread.rs
index 6a1169e2..d29bccb0 100644
--- a/ui/src/components/mail/listing/thread.rs
+++ b/ui/src/components/mail/listing/thread.rs
@@ -51,9 +51,9 @@ pub struct ThreadListing {
impl ListingTrait for ThreadListing {
fn coordinates(&self) -> (usize, usize, Option<EnvelopeHash>) {
(
- self.cursor_pos.0,
- self.cursor_pos.1,
- Some(self.locations[self.cursor_pos.2]),
+ self.new_cursor_pos.0,
+ self.new_cursor_pos.1,
+ Some(self.locations[self.new_cursor_pos.2]),
)
}
fn set_coordinates(&mut self, coordinates: (usize, usize, Option<EnvelopeHash>)) {