Do not unnecessarily refresh in config menu

We don't need to refresh windows every time an unassigned key is
pressed. Add a condition to skip the refresh part if that is the case.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-07-14 18:18:31 +02:00
parent ab4c4dee76
commit c21137129a

View File

@ -283,6 +283,8 @@ main (int argc, char **argv)
case 'S': case 'S':
custom_sidebar_config (); custom_sidebar_config ();
break; break;
default:
continue;
} }
wins_reset (); wins_reset ();
wins_update (); wins_update ();