stylesheets in 2.1b4

When I (accidentally and I know, this is stupid and I shouldn’t do it but I did) make two classes with the samen name it looks like they are merged.

At least the border properties are…

that is strange!
There should be a unique index on the styles name column!
(And that one is to unique at the moment because if you make youre styles to long it won’t save it currently)

Can you see what kind of index is on the servoy_styles table?

Johan, it’s not the style I talk about but the class. For example 2 classes called label.yellow in the same stylesheet.

hmm i currently don’t know what happens then but if i have to guess they will get merged yes.