Code clarification about 3 confusing functions to display info: DisplayInfo (displaying a message info) and class members DisplayInfo and Display_Infos doing the same thing (see changelog)
This commit is contained in:
+2
-2
@@ -699,9 +699,9 @@ void WinEDA_PlotFrame::Plot( wxCommandEvent& event )
|
||||
|
||||
// Test for a reasonnable scale value
|
||||
if ( Scale_X < MIN_SCALE || Scale_Y < MIN_SCALE )
|
||||
DisplayInfo(this, _("Warning: Scale option set to a very small value") );
|
||||
DisplayInfoMessage(this, _("Warning: Scale option set to a very small value") );
|
||||
if ( Scale_X > MAX_SCALE || Scale_Y > MAX_SCALE )
|
||||
DisplayInfo(this, _("Warning: Scale option set to a very large value") );
|
||||
DisplayInfoMessage(this, _("Warning: Scale option set to a very large value") );
|
||||
|
||||
int mask = 1;
|
||||
s_SelectedLayers = 0;
|
||||
|
||||
Reference in New Issue
Block a user