File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
mode/tools/SDKUpdater/src/processing/mode/android/tools Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,8 @@ private void createLayout(final boolean standalone) {
483
483
packageTable = new DefaultTableModel (NUM_ROWS , columns_tools .size ()) {
484
484
@ Override
485
485
public boolean isCellEditable (int row , int column ) {
486
- if (column == 0 ) return true ;
486
+ String version = (String ) packageTable .getValueAt (row ,3 );
487
+ if (!version .equals ("" )) return true ; //only if update exists
487
488
return false ;
488
489
}
489
490
@@ -606,7 +607,8 @@ public void actionPerformed(ActionEvent actionEvent) {
606
607
platformTable = new DefaultTableModel (NUM_ROWS , columns_platforms .size ()) {
607
608
@ Override
608
609
public boolean isCellEditable (int row , int column ) {
609
- if (column == 0 ) return true ;
610
+ String status = (String ) platformTable .getValueAt (row ,3 );
611
+ if (status .equals ("Not Installed" )) return true ;
610
612
return false ;
611
613
}
612
614
You can’t perform that action at this time.
0 commit comments