Add a NULL check in summary_select_by_msg_list when selecting tree nodes.
authorAndrej Kacian <ticho@claws-mail.org>
Sun, 23 Sep 2018 14:44:45 +0000 (16:44 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Sun, 23 Sep 2018 14:44:45 +0000 (16:44 +0200)
commita2394c03d010ef98197837d509d3d4c7265234bd
tree4508d578abf89e5562e4574c7bacc800965a542d
parent9278a0825e350d0bb2502c6f8760be3f47565993
Add a NULL check in summary_select_by_msg_list when selecting tree nodes.

This fixes an assertion failure when executing an action
which moves selected messages to a different folder. We
obviously cannot select previously selected messages if
they're not in current folder anymore.
src/summaryview.c