fixing the transition of the previewSlideList following active item
This commit is contained in:
parent
4910eabc75
commit
8b23c9809c
2 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ mod slide_model {
|
|||
);
|
||||
|
||||
#[qsignal]
|
||||
fn active_change(self: Pin<&mut SlideModel>, index: &i32);
|
||||
fn active_changed(self: Pin<&mut SlideModel>, index: &i32);
|
||||
|
||||
#[qinvokable]
|
||||
fn add_video_thumbnail(
|
||||
|
@ -1088,7 +1088,7 @@ impl slide_model::SlideModel {
|
|||
|
||||
// We use this signal generated by our signals enum to tell QML that
|
||||
// the active slide has changed which is used to reposition views.
|
||||
self.as_mut().active_change(&index);
|
||||
self.as_mut().active_changed(&index);
|
||||
true
|
||||
} else {
|
||||
false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue