diff --git a/src/styles/Base/TableViewStyle.qml b/src/styles/Base/TableViewStyle.qml
index 6d4f9feb935961e900e0efb7d8c1d804a169ede4..f44893f699aff435f3b6437962871785bec932ba 100644
--- a/src/styles/Base/TableViewStyle.qml
+++ b/src/styles/Base/TableViewStyle.qml
@@ -103,12 +103,12 @@ ScrollViewStyle {
             anchors.bottom: parent.bottom
             width: parent.width
             height: 1
-            color: styleData.elected ? Qt.darker(selectedColor, 1.4) : "transparent"
+            color: styleData.selected ? Qt.darker(selectedColor, 1.4) : "transparent"
         }
         Rectangle {
             anchors.top: parent.top
             width: parent.width ; height: 1
-            color: styleData.elected ? Qt.darker(selectedColor, 1.1) : "transparent"
+            color: styleData.selected ? Qt.darker(selectedColor, 1.1) : "transparent"
         }
     }