Fix double call of TransfertDataToWindows in 4 dialogs (fix a bug I created in rev 6962). Make change working on KDE.
This commit is contained in:
commit
e7bbe27e36
|
@ -270,6 +270,7 @@ void DIALOG_MODULE_BOARD_EDITOR::InitModeditProperties()
|
||||||
m_LastSelected3DShapeIndex = -1;
|
m_LastSelected3DShapeIndex = -1;
|
||||||
|
|
||||||
// Init 3D shape list
|
// Init 3D shape list
|
||||||
|
m_3D_ShapeNameListBox->Clear();
|
||||||
S3D_MASTER* draw3D = m_CurrentModule->Models();
|
S3D_MASTER* draw3D = m_CurrentModule->Models();
|
||||||
wxString origPath;
|
wxString origPath;
|
||||||
wxString alias;
|
wxString alias;
|
||||||
|
|
|
@ -99,7 +99,6 @@ private:
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
event.Skip();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TransferDataToWindow();
|
bool TransferDataToWindow();
|
||||||
|
|
|
@ -122,6 +122,7 @@ void DIALOG_MODULE_MODULE_EDITOR::initModeditProperties()
|
||||||
m_lastSelected3DShapeIndex = -1;
|
m_lastSelected3DShapeIndex = -1;
|
||||||
|
|
||||||
// Init 3D shape list
|
// Init 3D shape list
|
||||||
|
m_3D_ShapeNameListBox->Clear();
|
||||||
S3D_MASTER* draw3D = m_currentModule->Models();
|
S3D_MASTER* draw3D = m_currentModule->Models();
|
||||||
wxString origPath;
|
wxString origPath;
|
||||||
wxString alias;
|
wxString alias;
|
||||||
|
|
|
@ -83,7 +83,6 @@ private:
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
event.Skip();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,6 @@ private:
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
event.Skip();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void InitValues( );
|
void InitValues( );
|
||||||
|
|
|
@ -101,7 +101,6 @@ private:
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
event.Skip();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetPrintParameters( );
|
void SetPrintParameters( );
|
||||||
|
|
Loading…
Reference in New Issue