diff --git a/dialogs.c b/dialogs.c index a992eeef..0378c013 100644 --- a/dialogs.c +++ b/dialogs.c @@ -2149,6 +2149,7 @@ GLT_OK (int n) { GLT_ParseList(); appData.gameListTags = strdup(lpUserGLT); + GameListUpdate(); return 1; } diff --git a/frontend.h b/frontend.h index a81fd4ba..aa7612db 100644 --- a/frontend.h +++ b/frontend.h @@ -180,6 +180,7 @@ void GameListPopUp P((FILE *fp, char *filename)); void GameListPopDown P((void)); void GameListHighlight P((int index)); void GameListDestroy P((void)); +void GameListUpdate P((void)); FILE *GameFile P((void)); /* these are in wedittags.c */ diff --git a/ngamelist.c b/ngamelist.c index 5417804b..d202ad6d 100644 --- a/ngamelist.c +++ b/ngamelist.c @@ -220,6 +220,13 @@ GameListReplace (int page) SetDialogTitle(GameListDlg, buf); } +void +GameListUpdate () +{ + GameListPrepare(False, False); + GameListReplace(0); +} + void GameListPopUp (FILE *fp, char *filename) {