Corretta set
git-svn-id: svn://10.65.10.50/trunk@3592 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
beab9bdd1b
commit
64723f7b44
@ -1834,24 +1834,13 @@ bool TPrinter::set()
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
if (k == K_ESC || k == K_ENTER)
|
||||
{
|
||||
*/
|
||||
if (k == K_ESC)
|
||||
{
|
||||
// riaggiusta stampante default windows come prima
|
||||
// curprn e rcd sono quelle di prima
|
||||
main_app().enable_menu_item(M_FILE_PG_SETUP);
|
||||
WriteProfileString("windows", "device", old_default);
|
||||
}
|
||||
/*
|
||||
}
|
||||
*/
|
||||
if (k == K_ESC)
|
||||
{
|
||||
_curprn = oldprn;
|
||||
// set_printrcd();
|
||||
s_printrcd * rcd = get_printrcd();
|
||||
memcpy(rcd, (const char *) oldrcd, _print_rcd_size);
|
||||
set_win_formlen();
|
||||
@ -1891,7 +1880,7 @@ bool TPrinter::set()
|
||||
if (k == K_INS)
|
||||
save_configuration();
|
||||
|
||||
// main_app().enable_menu_item (M_FILE_PG_SETUP);
|
||||
main_app().enable_menu_item (M_FILE_PG_SETUP);
|
||||
|
||||
if (msk)
|
||||
delete msk;
|
||||
|
Loading…
x
Reference in New Issue
Block a user