mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
if trans-type is none, print a ? (default) and have due-date off.
Flip between I and P (on and off) as user enters Type cell. Eventually the 'default' should be a user preference, IMHO. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6148 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8b55858163
commit
e44cfabcd0
@ -72,7 +72,7 @@ gnc_split_register_load_type_cells (SplitRegister *reg)
|
|||||||
if (!cell) return;
|
if (!cell) return;
|
||||||
|
|
||||||
/* FIXME: These should get moved to an i18n function */
|
/* FIXME: These should get moved to an i18n function */
|
||||||
gnc_recn_cell_set_valid_flags (cell, "IP", 'P');
|
gnc_recn_cell_set_valid_flags (cell, "IP?", 'I');
|
||||||
gnc_recn_cell_set_flag_order (cell, "IP");
|
gnc_recn_cell_set_flag_order (cell, "IP");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -643,8 +643,7 @@ gnc_split_register_get_type_entry (VirtualLocation virt_loc,
|
|||||||
type = xaccTransGetTxnType (trans);
|
type = xaccTransGetTxnType (trans);
|
||||||
|
|
||||||
if (type == TXN_TYPE_NONE)
|
if (type == TXN_TYPE_NONE)
|
||||||
/* Change the default? */
|
type = '?';
|
||||||
(type);
|
|
||||||
|
|
||||||
s[0] = type;
|
s[0] = type;
|
||||||
s[1] = '\0';
|
s[1] = '\0';
|
||||||
|
Loading…
Reference in New Issue
Block a user