fix: Account delete and edit error after add account.
This commit is contained in:
@@ -86,6 +86,8 @@ AccountTableForm::AccountTableForm(QWidget* aParent)
|
|||||||
if (DialogManager::Default()->requestAddAccount(model) == QDialog::Accepted)
|
if (DialogManager::Default()->requestAddAccount(model) == QDialog::Accepted)
|
||||||
{
|
{
|
||||||
table->selectRow(0);
|
table->selectRow(0);
|
||||||
|
model->selectRow(0);
|
||||||
|
mCurrentRow = 0;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user