UX: Don't allow edit of non-contiguous streams
Allowing this has potential of confusion for user when using Prev/Next
This commit is contained in:
parent
fd243f6847
commit
f62a3be54a
@ -490,10 +490,11 @@ void PortsWindow::updateStreamViewActions()
|
||||
tvStreamList->selectionModel()->selection().size());
|
||||
|
||||
// If more than one non-contiguous ranges selected,
|
||||
// disable "New"
|
||||
// disable "New" and "Edit"
|
||||
if (tvStreamList->selectionModel()->selection().size() > 1)
|
||||
{
|
||||
actionNew_Stream->setDisabled(true);
|
||||
actionEdit_Stream->setDisabled(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user