← easystroke

Disable 'show deleted' checkbox for default actions

d6215e99d20a9df664fde1928261624a1511a6ed · Thomas Jaeger · Sep 11, 2012 03:23

+1 · 1 file changed

  • actions.cc +1 −0
diff --git a/actions.cc b/actions.cc
index b73623c..c17857c 100644
--- a/actions.cc
+++ b/actions.cc
@@ -719,6 +719,7 @@ void Actions::update_counts() {
 }
 
 void Actions::update_action_list() {
+	check_show_deleted->set_sensitive(action_list != actions.get_root());
 	boost::shared_ptr<std::set<Unique *> > ids = action_list->get_ids(check_show_deleted->get_active());
 	const Gtk::TreeNodeChildren &ch = tm->children();