summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gtk/pkgview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtk/pkgview.cc b/src/gtk/pkgview.cc
index 748116b8..43974550 100644
--- a/src/gtk/pkgview.cc
+++ b/src/gtk/pkgview.cc
@@ -325,7 +325,7 @@ namespace gui
(*apt_cache_file)->mark_keep(pkg, false, false, undo);
break;
case Hold:
- (*apt_cache_file)->mark_delete(pkg, false, true, undo);
+ (*apt_cache_file)->mark_keep(pkg, false, true, undo);
break;
case MakeAutomatic:
(*apt_cache_file)->mark_auto_installed(pkg, true, undo);