From: dooglus Date: Sat, 2 Feb 2008 19:46:09 +0000 (+0000) Subject: Prevent a warning from the keyframe panel on startup. The 'Jump' column still compla... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=90178e3a79769b8823087b84fd7bb496e0d04b40;p=synfig.git Prevent a warning from the keyframe panel on startup. The 'Jump' column still complains if we try to sort using it though. git-svn-id: http://svn.voria.com/code@1555 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/keyframetree.cpp b/synfig-studio/trunk/src/gtkmm/keyframetree.cpp index 1a3cd06..bcc9c59 100644 --- a/synfig-studio/trunk/src/gtkmm/keyframetree.cpp +++ b/synfig-studio/trunk/src/gtkmm/keyframetree.cpp @@ -152,7 +152,6 @@ KeyframeTree::set_model(Glib::RefPtr keyframe_tree_store) { Glib::RefPtr sorted_store(Gtk::TreeModelSort::create(keyframe_tree_store_)); sorted_store->set_default_sort_func(sigc::ptr_fun(&studio::KeyframeTreeStore::time_sorter)); - sorted_store->set_sort_column(model.time.index(), Gtk::SORT_ASCENDING); sorted_store->set_sort_func(model.time, sigc::ptr_fun(&studio::KeyframeTreeStore::time_sorter)); sorted_store->set_sort_func(model.description, sigc::ptr_fun(&studio::KeyframeTreeStore::description_sorter)); Gtk::TreeView::set_model(sorted_store);