Commit 238c12da authored by dickelbeck's avatar dickelbeck

modedit bug fix

parent b66c00b4
...@@ -4,6 +4,14 @@ Started 2007-June-11 ...@@ -4,6 +4,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with Please add newer entries at the top, list the date and your name with
email address. email address.
2007-Nov-11 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+ pcbnew
Fixed modedit.cpp bug which occurred when selecting a non pad item (such
as a text field) in the module editor, then selecting Dimensions -> Pad Settings
in the module editor.
2007-Nov-11 UPDATE Geoff Harland <gharlandau@yahoo.com.au> 2007-Nov-11 UPDATE Geoff Harland <gharlandau@yahoo.com.au>
================================================================================ ================================================================================
+ eeschema & pcbnew & gerbview + eeschema & pcbnew & gerbview
...@@ -1277,7 +1285,6 @@ email address. ...@@ -1277,7 +1285,6 @@ email address.
incomplete generation of erc file list incomplete generation of erc file list
2007-June-13 UPDATE Richard A Burton <richardaburton@gmail.com> 2007-June-13 UPDATE Richard A Burton <richardaburton@gmail.com>
================================================================================ ================================================================================
+ build: + build:
......
/****************/ /****************/
/* SELCOLOR.CPP */ /* SELCOLOR.CPP */
/****************/ /****************/
......
...@@ -573,8 +573,13 @@ void WinEDA_ModuleEditFrame::Process_Special_Functions( wxCommandEvent& event ) ...@@ -573,8 +573,13 @@ void WinEDA_ModuleEditFrame::Process_Special_Functions( wxCommandEvent& event )
break; break;
case ID_PCB_PAD_SETUP: case ID_PCB_PAD_SETUP:
InstallPadOptionsFrame( (D_PAD*) GetScreen()->GetCurItem(), {
&dc, pos ); BOARD_ITEM* item = GetCurItem();
if( item && item->Type()==TYPEPAD )
InstallPadOptionsFrame( (D_PAD*) item, &dc, pos );
else
InstallPadOptionsFrame( NULL, &dc, pos );
}
break; break;
case ID_PCB_USER_GRID_SETUP: case ID_PCB_USER_GRID_SETUP:
......
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