Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Commit

Permalink
Fix sorting issue when a new connection is added. Fix #450
Browse files Browse the repository at this point in the history
  • Loading branch information
librehat committed Jul 23, 2017
1 parent 9b4f448 commit 46c91cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connectiontablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ bool ConnectionTableModel::appendConnection(Connection *con, const QModelIndex &
connect(newItem, &ConnectionItem::message, this, &ConnectionTableModel::message);
connect(newItem, &ConnectionItem::stateChanged, this, &ConnectionTableModel::onConnectionStateChanged);
connect(newItem, &ConnectionItem::latencyChanged, this, &ConnectionTableModel::onConnectionLatencyChanged);
beginInsertRows(parent, items.count(), items.count() + 1);
beginInsertRows(parent, items.count(), items.count());
items.append(newItem);
endInsertRows();
return true;
Expand Down

0 comments on commit 46c91cc

Please sign in to comment.