Closed Picaut closed 3 years ago
Currently an element does not control the grid menu of its properties.
I don't understand in which circumstance this menu have to be disabled.
However I could disable "Set the same value" menu item depending on grid cell editor (Float, Int, String, List, File, Color)
Yes, this option should only be available for grids with the same kind of elements (i.e. values or strings or check boxes...). This issue finally concerns all grid elements in I-Simpa.
In addition, for the directivity. You can copy/paste a directivity as an XML in a text file, but you can not copy/paste a directivity in a User Directivity folder. In this last case, the "Paste" option should not be available.
@nicolas-f Not fully resolved. The menu "Ste the same value">"To the row" is still enabled
The fix will disable the option when one of other cell is not of the same type. All the columns of the selected cell have the same attribute type (file path), so this option is still enabled (because there is only 1 column in this property)
Desactivate "Set the same value" on this element