mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
stop that annoying beeping
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1164 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
567e2e1149
commit
e0ce1319ca
@ -570,7 +570,7 @@ xaccCreateTable (Table *table, Widget parent, char * name)
|
||||
CellBlock *curs;
|
||||
unsigned char * alignments;
|
||||
short * widths;
|
||||
Widget reg;
|
||||
Widget reg, textw;
|
||||
int num_header_rows = 0;
|
||||
|
||||
if (!table) return 0;
|
||||
@ -628,6 +628,10 @@ xaccCreateTable (Table *table, Widget parent, char * name)
|
||||
|
||||
table->table_widget = reg;
|
||||
|
||||
/* stop it from beeping */
|
||||
XtVaGetValues (reg, XmNtextField, &textw, NULL);
|
||||
XtVaSetValues (textw, XmNverifyBell, False, NULL);
|
||||
|
||||
return (reg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user