fix: Account delete and edit error after add account.

This commit is contained in:
sunwen
2024-07-22 18:16:52 +08:00
parent b221a28dc0
commit 543524a4d7

View File

@@ -86,6 +86,8 @@ AccountTableForm::AccountTableForm(QWidget* aParent)
if (DialogManager::Default()->requestAddAccount(model) == QDialog::Accepted)
{
table->selectRow(0);
model->selectRow(0);
mCurrentRow = 0;
}
});