mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtcm: fix a segfault that occurred when opening the "Appointment List..." in
the "View" menu.
This commit is contained in:
parent
4190143c91
commit
e7402803df
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue