X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fwidget_keyframe_list.cpp;h=ace2b98b4a925dc14c1afea5045587524998fa39;hb=12876a2268b54c0cc2f381b5066a3bbc8ca623e8;hp=4c83d145b52e4b9041b1320c6631004c2961fce5;hpb=08caa838e9fd7826b436c88b07931fa99a116822;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/widget_keyframe_list.cpp b/synfig-studio/trunk/src/gtkmm/widget_keyframe_list.cpp index 4c83d14..ace2b98 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_keyframe_list.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_keyframe_list.cpp @@ -193,8 +193,12 @@ Widget_Keyframe_List::perform_move_kf(bool delta=false) kf_list_->find_prev_next(selected_kf_time, prev, next); // Not possible to set delta to the first keyframe // perform normal movement - if (prev==Time::begin()) delta = false; - + // As suggested by Zelgadis it is better to not perform anything. + if (prev==Time::begin() && delta==true) + { + synfig::info(_("Not possible to ALT-drag the first keyframe")); + return false; + } if(!delta) { synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeSet"));