diff --git a/src/FileDialog.c b/src/FileDialog.c index 67691bee36..405e136656 100644 --- a/src/FileDialog.c +++ b/src/FileDialog.c @@ -299,7 +299,7 @@ gncFileQIFImport (void) int io_error, uh_oh = 0; AccountGroup *newgrp; - newfile = fileBox( OPEN_STR, "*.qif"); + newfile = fileBox(IMPORT_QIF_STR, "*.qif"); if (!newfile) return; /* load the accounts from the file the user specified */ diff --git a/src/MultiLedger.c b/src/MultiLedger.c index b745b326d7..a8f4e3d5cb 100644 --- a/src/MultiLedger.c +++ b/src/MultiLedger.c @@ -458,8 +458,8 @@ xaccRegisterCountHack (SplitRegister *splitreg) while (regData) { if (splitreg == regData->ledger) { xaccSRCountRows (splitreg, - xaccAccountGetSplitList (regData->leader), - regData->leader); + xaccQueryGetSplits (regData->query), + regData->leader); return; } n++; regData = fullList[n];