about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--commands/account/select-message.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/account/select-message.go b/commands/account/select-message.go
index 54f48f2..c9e4f8a 100644
--- a/commands/account/select-message.go
+++ b/commands/account/select-message.go
@@ -29,6 +29,9 @@ func SelectMessage(aerc *widgets.Aerc, args []string) error {
 	if acct == nil {
 		return errors.New("No account selected")
 	}
+	if acct.Messages().Empty() {
+		return nil
+	}
 	acct.Messages().Select(n)
 	return nil
 }
12' href='/akkartik/mu/commit/html/counters.mu.html?h=hlt&id=a654e4ecace2d506d1b10f1dde2c287ebe84ef37'>a654e4ec ^
c5ffb6e1 ^

a654e4ec ^
e6056999 ^
a654e4ec ^
dbe12410 ^
a654e4ec ^

3e1349d2 ^
c5ffb6e1 ^

a654e4ec ^





c5ffb6e1 ^

a654e4ec ^
c5ffb6e1 ^


f344b250 ^
76755b28 ^

c5ffb6e1 ^

f344b250 ^
f5465e12 ^
76755b28 ^
f344b250 ^
76755b28 ^
c5ffb6e1 ^

4690ce81 ^
f5465e12 ^
c5ffb6e1 ^
f344b250 ^
c5ffb6e1 ^
f344b250 ^
c5ffb6e1 ^
f5465e12 ^
f344b250 ^

c5ffb6e1 ^
4690ce81 ^
4690ce81 ^
c5ffb6e1 ^



a654e4ec ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63