Don't update flight config on multi-selection in table
This commit is contained in:
parent
555ed21996
commit
bc8a8eb0d0
@ -149,7 +149,12 @@ public abstract class FlightConfigurablePanel<T extends FlightConfigurableCompon
|
|||||||
if ( e.getValueIsAdjusting() ) {
|
if ( e.getValueIsAdjusting() ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Don't update the flight configuration for multi-selections
|
||||||
|
if (table.getSelectionModel().getSelectedItemsCount() > 1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* Find the selected row and set it as the current selected configuration
|
/* Find the selected row and set it as the current selected configuration
|
||||||
* for the rocket. This will propagate the event to ensure that other
|
* for the rocket. This will propagate the event to ensure that other
|
||||||
* pieces of the UI are updated and match the table selection.
|
* pieces of the UI are updated and match the table selection.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user