diff --git a/resources/Constants/Globals.qml b/resources/Constants/Globals.qml index 34c54f594..e58688869 100644 --- a/resources/Constants/Globals.qml +++ b/resources/Constants/Globals.qml @@ -17,17 +17,10 @@ QtObject { property int minimumWidth: 900 property string conn_state: Constants.connection.disconnected.toUpperCase() property string copyClipboard: "" - property var tablesWithHighlights: [] property var currentSelectedTable: null property bool showFileConnection: false property QtObject updateTabData - function clearHighlightedRows() { - for (var i in tablesWithHighlights) { - tablesWithHighlights[i].selectedRow = -1; - } - } - updateTabData: QtObject { property bool consoleOutdated: false property bool fwV2Outdated: false diff --git a/resources/LogPanel.qml b/resources/LogPanel.qml index 40f2b733b..94f2d6e52 100644 --- a/resources/LogPanel.qml +++ b/resources/LogPanel.qml @@ -280,8 +280,6 @@ Item { rows.unshift(new_row); tableView.model.rows = rows.slice(0, Constants.logPanel.maxRows); } - if (logPanelData.entries.length && tableView.selectedRow != -1) - tableView.selectedRow += logPanelData.entries.length; logPanelData.entries = []; } } diff --git a/resources/TableComponents/SwiftTableView.qml b/resources/TableComponents/SwiftTableView.qml index c42c0ad56..9d51f604c 100644 --- a/resources/TableComponents/SwiftTableView.qml +++ b/resources/TableComponents/SwiftTableView.qml @@ -10,7 +10,6 @@ TableView { property alias verticalScrollBar: _verticalScrollBar property variant columnWidths: [] property variant columnAlignments: [] - property int selectedRow: -1 property int _currentSelectedIndex: -1 property bool stayFocused: false property int currentSelectedIndex: (!stayFocused && Globals.currentSelectedTable == this) ? _currentSelectedIndex : -1