File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ void ExpandedTableComponent::updatePopup()
685685 return ;
686686 }
687687
688- if (auto * tableModel = dynamic_cast <StreamTableModel*> (expandedTable->getModel ()))
688+ if (auto * tableModel = dynamic_cast <StreamTableModel*> (expandedTable->getTableListBoxModel ()))
689689 {
690690 tableModel->table = expandedTable.get ();
691691 }
Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ bool SelectFile::perform()
6060 int64 fileDurationMs = processor->samplesToMilliseconds (fileDuration);
6161
6262 // Set the maximum time for the time parameters
63- endTime->getTimeValue ()->setMaxTimeInMilliseconds (fileDurationMs);
64- startTime->getTimeValue ()->setMaxTimeInMilliseconds (fileDurationMs - 1 );
63+ endTime->getTimeValue ()->setMaxTimeInMilliseconds (int ( fileDurationMs) );
64+ startTime->getTimeValue ()->setMaxTimeInMilliseconds (int ( fileDurationMs - 1 ) );
6565
6666 // Set the start time to the beginning of the file
6767 startTime->getTimeValue ()->setTimeFromMilliseconds (0 );
6868 startTime->setNextValue (startTime->getTimeValue ()->toString (), false );
6969 processor->setPlaybackStart (originalStartTimeInMs * processor->getCurrentSampleRate () / 1000 );
7070
7171 // Set the end time to the end of the file
72- endTime->getTimeValue ()->setTimeFromMilliseconds (fileDurationMs);
72+ endTime->getTimeValue ()->setTimeFromMilliseconds (int ( fileDurationMs) );
7373 endTime->setNextValue (endTime->getTimeValue ()->toString (), false );
7474 processor->setPlaybackStop (originalEndTimeInMs * processor->getCurrentSampleRate () / 1000 );
7575
You can’t perform that action at this time.
0 commit comments