Commit 9fea5e9b authored by claes's avatar claes

Paste can't be started when paste movement is active

parent 1bf02a26
/*
* Proview $Id: flow_ctx.cpp,v 1.15 2008-05-13 13:56:03 claes Exp $
* Proview $Id: flow_ctx.cpp,v 1.16 2008-06-24 08:07:06 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -532,6 +532,9 @@ void FlowCtx::paste_execute()
double ll_x, ll_y, ur_x, ur_y;
int delta_x, delta_y;
if ( node_movement_paste_active)
return;
a_paste.zoom();
a_paste.nav_zoom();
if ( application_paste)
......
/*
* Proview $Id: glow_ctx.cpp,v 1.20 2008-05-13 13:59:03 claes Exp $
* Proview $Id: glow_ctx.cpp,v 1.21 2008-06-24 08:08:00 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -700,6 +700,9 @@ void GlowCtx::paste_execute()
double ll_x, ll_y, ur_x, ur_y;
int delta_x, delta_y;
if ( node_movement_paste_active)
return;
a_paste.zoom();
a_paste.nav_zoom();
if ( application_paste)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment