Commit e2c02df9 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

tablet: Fix DevicesModel removals

We were finishing removals with endInsertRows. Nothing complained but it
behaved wrong.
parent 278e5b9a
Pipeline #227752 passed with stage
in 5 minutes and 21 seconds
......@@ -128,7 +128,7 @@ void DevicesModel::onDeviceRemoved(const QString &sysName)
beginRemoveRows({}, index, index);
m_devices.removeAt(index);
endInsertRows();
endRemoveRows();
}
InputDevice *DevicesModel::deviceAt(int row) const
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment