Fix some issues.
This commit is contained in:
parent
6428836755
commit
640a06850f
|
@ -252,7 +252,7 @@ static void InitKiCadAboutNew( AboutAppInfo& info )
|
|||
info.AddTranslator( new Contributor( wxT( "Kenta Yonekura" ),
|
||||
wxT( "midpika@hotmail.com" ), wxT( "Japanese (JA)" ),
|
||||
new wxBitmap( lang_jp_xpm ) ) );
|
||||
info.AddTranslator( new Contributor( wxT( "Milonas Kostas" ),
|
||||
info.AddTranslator( new Contributor( wxT( "Manolis Stefanis and Milonas Kostas" ),
|
||||
wxT( "milonas.ko@gmail.com" ), wxT( "Greek (el_GR)" ),
|
||||
new wxBitmap( lang_gr_xpm ) ) );
|
||||
|
||||
|
|
|
@ -1209,10 +1209,10 @@ void EDA_DRAW_PANEL::EndMouseCapture( int id, int cursor, const wxString& title
|
|||
{
|
||||
INSTALL_UNBUFFERED_DC( dc, this );
|
||||
m_endMouseCaptureCallback( this, &dc );
|
||||
m_mouseCaptureCallback = NULL;
|
||||
m_endMouseCaptureCallback = NULL;
|
||||
m_AutoPAN_Request = false;
|
||||
}
|
||||
m_mouseCaptureCallback = NULL;
|
||||
m_endMouseCaptureCallback = NULL;
|
||||
m_AutoPAN_Request = false;
|
||||
|
||||
if( id != -1 && cursor != -1 )
|
||||
{
|
||||
|
|
|
@ -119,6 +119,7 @@ void EDA_DRAW_FRAME::OnZoom( wxCommandEvent& event )
|
|||
break;
|
||||
|
||||
case ID_POPUP_ZOOM_CENTER:
|
||||
center = screen->GetCrossHairPosition();
|
||||
RedrawScreen( center, true );
|
||||
break;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
update=04/02/2011 22:02:33
|
||||
update=17/02/2011 19:33:13
|
||||
version=1
|
||||
last_client=pcbnew
|
||||
[common]
|
||||
|
|
|
@ -89,7 +89,12 @@ bool SCH_EDIT_FRAME::SaveEEFile( SCH_SCREEN* screen, int FileSave )
|
|||
if( !success )
|
||||
DisplayError( this, _( "File write operation failed." ) );
|
||||
else
|
||||
{
|
||||
screen->ClrModify();
|
||||
wxString msg;
|
||||
msg.Printf( wxT("File %s saved"), GetChars(screen->GetFileName() ) );
|
||||
SetStatusText(msg, 0);
|
||||
}
|
||||
|
||||
|
||||
fclose( f );
|
||||
|
|
|
@ -129,6 +129,7 @@ void WinEDA_BasePcbFrame::CursorGoto( const wxPoint& aPos )
|
|||
/* There may be need to reframe the drawing. */
|
||||
if( !DrawPanel->IsPointOnDisplay( aPos ) )
|
||||
{
|
||||
screen->SetCrossHairPosition( aPos );
|
||||
RedrawScreen( aPos, true );
|
||||
}
|
||||
else
|
||||
|
|
|
@ -120,7 +120,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event )
|
|||
case ID_POPUP_CANCEL_CURRENT_COMMAND:
|
||||
if( DrawPanel->IsMouseCaptured() )
|
||||
{
|
||||
DrawPanel->m_endMouseCaptureCallback( DrawPanel, &dc );
|
||||
DrawPanel->EndMouseCapture();
|
||||
}
|
||||
|
||||
/* Should not be executed, just in case */
|
||||
|
|
Loading…
Reference in New Issue