mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
remove wacky loop that can be executed only once
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10247 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2a28f52f84
commit
f8f1a31b9b
@ -782,8 +782,6 @@ startRecnWindow(GtkWidget *parent, Account *account,
|
|||||||
gnc_reconcile_interest_xfer_run( &data );
|
gnc_reconcile_interest_xfer_run( &data );
|
||||||
}
|
}
|
||||||
|
|
||||||
while (TRUE)
|
|
||||||
{
|
|
||||||
result = gnome_dialog_run(GNOME_DIALOG(dialog));
|
result = gnome_dialog_run(GNOME_DIALOG(dialog));
|
||||||
|
|
||||||
if (result == 0) /* ok button */
|
if (result == 0) /* ok button */
|
||||||
@ -799,10 +797,6 @@ startRecnWindow(GtkWidget *parent, Account *account,
|
|||||||
gnc_save_reconcile_interval(account, *statement_date);
|
gnc_save_reconcile_interval(account, *statement_date);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* cancel or delete */
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
gtk_widget_destroy (dialog);
|
gtk_widget_destroy (dialog);
|
||||||
|
|
||||||
return (result == 0);
|
return (result == 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user