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:
Srivats P 2017-09-20 22:05:13 +05:30
parent fd243f6847
commit f62a3be54a

View File

@ -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
{