File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/nvs/dialog Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -624,6 +624,10 @@ protected CellEditor getCellEditor(Object element)
624624
625625 protected boolean canEdit (Object element )
626626 {
627+ if (tableViewer .getElementAt (0 ).equals (element ))
628+ {
629+ return false ;
630+ }
627631 return true ;
628632 }
629633
@@ -711,6 +715,10 @@ protected CellEditor getCellEditor(Object element)
711715
712716 protected boolean canEdit (Object element )
713717 {
718+ if (tableViewer .getElementAt (0 ).equals (element ))
719+ {
720+ return false ;
721+ }
714722 return true ;
715723 }
716724
@@ -788,6 +796,10 @@ protected CellEditor getCellEditor(Object element)
788796
789797 protected boolean canEdit (Object element )
790798 {
799+ if (tableViewer .getElementAt (0 ).equals (element ))
800+ {
801+ return false ;
802+ }
791803 return true ;
792804 }
793805
You can’t perform that action at this time.
0 commit comments