2024-05-07 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Edit Audio' dialog that caused it to
	ignore the state of the 'Edit Audio' user privilege.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2024-05-07 12:55:11 -04:00
parent facf58f425
commit 1519123f68
10 changed files with 168 additions and 82 deletions

View File

@@ -74,7 +74,8 @@ void CatchTableView::editAudioMenuData()
RDCart *rdcart=new RDCart(RDCut::cartNumber(cutname));
if(d_marker_dialog->
exec(RDCut::cartNumber(cutname),RDCut::cutNumber(cutname))) {
exec(RDCut::cartNumber(cutname),RDCut::cutNumber(cutname),
!rda->user()->editAudio())) {
rdcart->updateLength();
mod->refresh(mod->index(d_mouse_row,0));
SendNotification(RDNotification::ModifyAction,