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:23:31 +02:00
parent ab4c4dee76
commit c21137129a
+2
View File
@@ -283,6 +283,8 @@ main (int argc, char **argv)
case 'S':
custom_sidebar_config ();
break;
default:
continue;
}
wins_reset ();
wins_update ();