-
- add_subwindow(title = new BC_Title(x1, y, _("Asset's interlacing:")));
- ilacemode_to_text(string, asset->interlace_mode);
- AssetEditILacemode *edit_ilace_mode;
- add_subwindow(edit_ilace_mode = new AssetEditILacemode(this, string, x2, y, 160));
- add_subwindow(new AssetEditInterlacemodePulldown(mwindow, edit_ilace_mode,
+ if( asset ) {
+ add_subwindow(title = new BC_Title(x1, y, _("Asset's interlacing:")));
+ ilacemode_to_text(string, asset->interlace_mode);
+ AssetEditILacemode *edit_ilace_mode;
+ add_subwindow(edit_ilace_mode = new AssetEditILacemode(this, string, x2, y, xS(160)));
+ add_subwindow(new AssetEditInterlacemodePulldown(mwindow, edit_ilace_mode,