diff options
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r-- | src/crystfel_gui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index e7baacdc..8ceef8fb 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -664,6 +664,8 @@ static gint image_info_clicked_sig(GtkWidget *widget, GtkWidget *label; char tmp[64]; + if ( proj->cur_image == NULL ) return FALSE; + popover = gtk_popover_new(widget); gtk_popover_set_position(GTK_POPOVER(popover), GTK_POS_BOTTOM); |