diff --git a/pglab/ConnectionListModel.cpp b/pglab/ConnectionListModel.cpp index 284484c..8c870ce 100644 --- a/pglab/ConnectionListModel.cpp +++ b/pglab/ConnectionListModel.cpp @@ -627,7 +627,9 @@ bool ConnectionTreeModel::removeRows(int row, int count, const QModelIndex &pare beginRemoveRows(parent, row, row + count - 1); SCOPE_EXIT { endRemoveRows(); }; grp->erase(row, count); + return true; } + return false; } void ConnectionTreeModel::save(const QString &group_name, const ConnectionConfig &cc)