build correctly for real now
This commit is contained in:
parent
0ebdaf2921
commit
398bc58525
1 changed files with 3 additions and 2 deletions
|
@ -1132,13 +1132,14 @@ impl slide_model::SlideModel {
|
|||
}
|
||||
|
||||
pub fn next(self: Pin<&mut Self>) -> QMap_QString_QVariant {
|
||||
let id = self.id.clone();
|
||||
if let Some(slide) = self.rust().slides.get(self.id as usize) {
|
||||
if slide.html {
|
||||
// conditional logic for html slides
|
||||
}
|
||||
return self.get_item(self.id + 1);
|
||||
return self.get_item(id + 1);
|
||||
}
|
||||
self.get_item(self.id + 1)
|
||||
self.get_item(id + 1)
|
||||
}
|
||||
|
||||
pub fn get_slide_from_service(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue