Skip to content

Commit

Permalink
Fix on default caregory not choosen & refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriele-v committed Nov 2, 2014
1 parent 64dab17 commit 8582a90
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/payeedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,17 +291,9 @@ void mmPayeeDialog::DefineDefaultCategory()
refreshRequested_ = true;
Model_Payee::instance().save(payee);
mmWebApp::MMEX_WebApp_UpdatePayee();
}
else
{
payee->CATEGID = -1;
payee->SUBCATEGID = -1;
refreshRequested_ = true;
Model_Payee::instance().save(payee);
mmWebApp::MMEX_WebApp_UpdatePayee();
fillControls();
}
}
fillControls();
}

void mmPayeeDialog::OnOrganizeAttachments()
Expand Down

0 comments on commit 8582a90

Please sign in to comment.