adding SlideType to slide_model

This commit is contained in:
Chris Cochrun 2024-09-27 06:12:41 -05:00
parent faae0f0186
commit 836c997e97
2 changed files with 17 additions and 18 deletions

View file

@ -482,7 +482,7 @@ impl slide_object::SlideObject {
self.as_mut().set_slide_size(slide.slide_count);
self.as_mut().set_looping(slide.looping);
self.as_mut().set_text(QString::from(&slide.text));
self.as_mut().set_ty(QString::from(&slide.ty));
self.as_mut().set_ty(QString::from(&slide.ty.to_string()));
self.as_mut().set_audio(QString::from(&slide.audio));
self.as_mut().set_image_background(QString::from(&slide.image_background));
self.as_mut().set_video_background(QString::from(&slide.video_background));