diff options
-rw-r--r-- | src/group_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 9e97db1be..1d74002c3 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -299,6 +299,7 @@ static void GroupWndProc(Window *w, WindowEvent *e) case WE_INVALIDATE_DATA: gv->l.flags |= VL_REBUILD; gl->l.flags |= VL_REBUILD; + if (!IsValidGroupID(gv->group_sel)) gv->group_sel = ALL_GROUP; UpdateGroupActionDropdown(w, gv->group_sel); SetWindowDirty(w); break; |