diff --git a/eeschema/dialogs/dialog_eeschema_options.h b/eeschema/dialogs/dialog_eeschema_options.h index 686cbba050..418589a4a0 100644 --- a/eeschema/dialogs/dialog_eeschema_options.h +++ b/eeschema/dialogs/dialog_eeschema_options.h @@ -113,7 +113,7 @@ public: } bool GetMiddleButtonPanLimited( void ) { - return m_checkEnableMiddleButtonPan->GetValue(); + return m_checkMiddleButtonPanLimited->GetValue(); } void SetEnableAutoPan( bool enable )