debugging account removal
This commit is contained in:
parent
234697050b
commit
b845518ced
6 changed files with 12 additions and 7 deletions
|
@ -35,8 +35,8 @@ void Accounts::onAccountAccepted()
|
|||
{
|
||||
Account* acc = static_cast<Account*>(sender());
|
||||
QMap<QString, QVariant> map = acc->value();
|
||||
const Models::Account* mAcc = model->getAccount(m_ui->tableView->selectionModel()->selectedRows().at(0).row());
|
||||
if (editing) {
|
||||
const Models::Account* mAcc = model->getAccount(m_ui->tableView->selectionModel()->selectedRows().at(0).row());
|
||||
emit changeAccount(mAcc->getName(), map);
|
||||
} else {
|
||||
emit newAccount(map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue