Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions resources/Constants/Globals.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions resources/LogPanel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
}
}
Expand Down
1 change: 0 additions & 1 deletion resources/TableComponents/SwiftTableView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down