Prevent a warning from the keyframe panel on startup. The 'Jump' column still compla...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 2 Feb 2008 19:46:09 +0000 (19:46 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 2 Feb 2008 19:46:09 +0000 (19:46 +0000)
git-svn-id: http://svn.voria.com/code@1555 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/keyframetree.cpp

index 1a3cd06..bcc9c59 100644 (file)
@@ -152,7 +152,6 @@ KeyframeTree::set_model(Glib::RefPtr<KeyframeTreeStore> keyframe_tree_store)
        {
                Glib::RefPtr<Gtk::TreeModelSort> 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);