pcbnew: bugfix for crashes when canvas is switched while dragging items (GAL).
This commit is contained in:
parent
16b2c40184
commit
9fca82c23f
|
@ -48,6 +48,12 @@ EDIT_TOOL::EDIT_TOOL() :
|
|||
}
|
||||
|
||||
|
||||
void EDIT_TOOL::Reset( RESET_REASON aReason )
|
||||
{
|
||||
m_dragging = false;
|
||||
}
|
||||
|
||||
|
||||
bool EDIT_TOOL::Init()
|
||||
{
|
||||
// Find the selection tool, so they can cooperate
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
EDIT_TOOL();
|
||||
|
||||
/// @copydoc TOOL_INTERACTIVE::Reset()
|
||||
void Reset( RESET_REASON aReason ) {};
|
||||
void Reset( RESET_REASON aReason );
|
||||
|
||||
/// @copydoc TOOL_INTERACTIVE::Init()
|
||||
bool Init();
|
||||
|
|
Loading…
Reference in New Issue