mirror of https://github.com/djcb/mu.git
* mu-msg-view.c: don't show message widgets for NULL messages
This commit is contained in:
parent
c10ef1f384
commit
79ad60e91a
|
@ -253,6 +253,9 @@ mu_msg_view_set_message (MuMsgView *self, MuMsg *msg)
|
|||
self->_priv->_msg = msg ? mu_msg_ref (msg) : NULL;
|
||||
|
||||
remove_widgets (self);
|
||||
|
||||
if (!msg)
|
||||
return;
|
||||
|
||||
if (!self->_priv->_view_source)
|
||||
gtk_box_pack_start (GTK_BOX(self),
|
||||
|
|
Loading…
Reference in New Issue