dtcm: fix a segfault that occurred when opening the "Appointment List..." in
the "View" menu.
This commit is contained in:
parent
4190143c91
commit
e7402803df
|
|
@ -1922,6 +1922,12 @@ show_editor_view(Calendar *c, Glance glance) {
|
|||
Editor *e = (Editor *)c->editor;
|
||||
Props_pu *p = (Props_pu *)c->properties_pu;
|
||||
|
||||
if (get_data_version(c->cal_handle) <= CMS_VERS_2) {
|
||||
backend_err_msg(c->frame, c->view->current_calendar,
|
||||
CSA_E_NOT_SUPPORTED, p->xm_error_pixmap);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!e->view_frame) {
|
||||
e->cal = c;
|
||||
e_build_view_popup(e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue