diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2012-05-26 19:27:29 +0800 |
---|---|---|
committer | Daniel Hartwig <mandyke@gmail.com> | 2012-05-26 19:27:29 +0800 |
commit | 2d3ccf5faeeb59f1c3bb78710ffde0e4c0263fc7 (patch) | |
tree | 29fa3bdede9c93034ae19f033ee027da1217657c | |
parent | 52e889d8e0e9636e43c6147b7bd924e04d014528 (diff) | |
download | aptitude-2d3ccf5faeeb59f1c3bb78710ffde0e4c0263fc7.tar.gz |
Update package views after 'Cancel pending actions'
Closes: #595753
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/ui.cc | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -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. @@ -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() |