mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Pcbnew: isDrag detection in Table creation tool
Drag breaks the UI when in the create table action Fixes https://gitlab.com/kicad/code/kicad/-/issues/19767
This commit is contained in:
parent
088e0e80a1
commit
c6e049df2a
@ -1168,7 +1168,8 @@ int DRAWING_TOOL::DrawTable( const TOOL_EVENT& aEvent )
|
||||
COORDS_PADDING );
|
||||
m_controls->ForceCursorPosition( true, cursorPos );
|
||||
|
||||
if( evt->IsCancelInteractive() || ( table && evt->IsAction( &ACTIONS::undo ) ) )
|
||||
if( evt->IsCancelInteractive() || ( table && evt->IsAction( &ACTIONS::undo ) )
|
||||
|| evt->IsDrag() )
|
||||
{
|
||||
if( table )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user