From 57da4cf20255dfae044caa1fd115792a4bae35d0 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Sat, 15 Oct 2005 16:24:32 +0000 Subject: [PATCH] Fix bug #435 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2444 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/wx-console/wxbrestorepanel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bacula/src/wx-console/wxbrestorepanel.cpp b/bacula/src/wx-console/wxbrestorepanel.cpp index aaae0d8614..7a15d15315 100644 --- a/bacula/src/wx-console/wxbrestorepanel.cpp +++ b/bacula/src/wx-console/wxbrestorepanel.cpp @@ -1361,6 +1361,8 @@ void wxbRestorePanel::CmdMark(wxTreeItemId treeitem, long* listitems, int listsi for (int i = 0; i < listsize; i++) { SetListItemState(listitems[i], state); } + listadd->Enable(state == 0); + listremove->Enable(state == 1); /*UpdateTree(treeitem, (tree->GetSelection() == treeitem)); treeitem = tree->GetItemParent(treeitem);*/ } -- 2.39.5