summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--src/ui.cc5
2 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4d28ad8d..6047267b 100644
--- a/NEWS
+++ b/NEWS
@@ -55,6 +55,9 @@ earlier releases.
* [all]: Fold some near-duplicate strings
+ * [curses]: Update package views after 'Cancel pending actions'
+ (Closes: #595753)
+
- Documentation:
* [doc]: Add doctype headers to html docs.
diff --git a/src/ui.cc b/src/ui.cc
index b70b8cf7..07fa9f95 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -1405,6 +1405,9 @@ static void do_show_preview()
static void do_keep_all()
{
+ if(apt_cache_file == NULL)
+ return;
+
auto_ptr<undo_group> undo(new apt_undo_group);
aptitudeDepCache::action_group group(*apt_cache_file, undo.get());
@@ -1415,6 +1418,8 @@ static void do_keep_all()
if(!undo.get()->empty())
apt_undos->add_item(undo.release());
+
+ package_states_changed();
}
static void fixer_dialog_done()