aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/msgviewer.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msgviewer.go')
-rw-r--r--widgets/msgviewer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 35fc4b6e..e192ae6a 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -317,8 +317,9 @@ func (mv *MessageViewer) NextPart() {
mv.Invalidate()
}
-func (mv *MessageViewer) Close() {
+func (mv *MessageViewer) Close() error {
mv.switcher.Cleanup()
+ return nil
}
func (ps *PartSwitcher) Invalidate() {