do not allow canvas cursor changes while a drag is in progress

This commit is contained in:
Paul Davis
2014-06-10 16:46:09 -04:00
parent b9f7aeb61e
commit 144033e55c

View File

@@ -880,6 +880,12 @@ Editor::horizontal_position () const
void
Editor::set_canvas_cursor (Gdk::Cursor* cursor, bool save)
{
/* do not allow cursors to change during a drag */
if (_drags->active()) {
return;
}
if (save) {
current_canvas_cursor = cursor;
}