diff --git a/src/wobbly/WobblyWindow.cpp b/src/wobbly/WobblyWindow.cpp index 0d20910..bae89bf 100644 --- a/src/wobbly/WobblyWindow.cpp +++ b/src/wobbly/WobblyWindow.cpp @@ -5424,11 +5424,11 @@ void WobblyWindow::setMatchAndDecimationPatterns() { } -void WobblyWindow::updateSectionOrphanFrames(int current_frame) { +void WobblyWindow::updateSectionOrphanFrames(int frame) { if (!project) return; - const Section *section = project->findSection(current_frame); + const Section *section = project->findSection(frame); updateSectionOrphanFrames(section); } diff --git a/src/wobbly/WobblyWindow.h b/src/wobbly/WobblyWindow.h index cf52d1a..3d29237 100644 --- a/src/wobbly/WobblyWindow.h +++ b/src/wobbly/WobblyWindow.h @@ -443,7 +443,7 @@ public slots: void setDecimationPattern(); void setMatchAndDecimationPatterns(); - void updateSectionOrphanFrames(int current_frame); + void updateSectionOrphanFrames(int frame); void updateSectionOrphanFrames(const Section *section); void guessCurrentSectionPatternsFromMics();