Do not set dirty bit on simulator launch, remove dead code
This commit is contained in:
parent
9f1ecdd715
commit
df2d4966b1
|
@ -305,8 +305,6 @@ WINDOW_SETTINGS* SIM_PLOT_FRAME::GetWindowSettings( APP_SETTINGS_BASE* aCfg )
|
||||||
|
|
||||||
void SIM_PLOT_FRAME::initWorkbook()
|
void SIM_PLOT_FRAME::initWorkbook()
|
||||||
{
|
{
|
||||||
m_workbook->DeleteAllPages();
|
|
||||||
|
|
||||||
if( !m_simulator->Settings()->GetWorkbookFilename().IsEmpty() )
|
if( !m_simulator->Settings()->GetWorkbookFilename().IsEmpty() )
|
||||||
{
|
{
|
||||||
wxFileName filename = m_simulator->Settings()->GetWorkbookFilename();
|
wxFileName filename = m_simulator->Settings()->GetWorkbookFilename();
|
||||||
|
|
|
@ -27,12 +27,14 @@
|
||||||
|
|
||||||
SIM_WORKBOOK::SIM_WORKBOOK() : wxAuiNotebook()
|
SIM_WORKBOOK::SIM_WORKBOOK() : wxAuiNotebook()
|
||||||
{
|
{
|
||||||
|
m_modified = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SIM_WORKBOOK::SIM_WORKBOOK( wxWindow* aParent, wxWindowID aId, const wxPoint& aPos, const wxSize&
|
SIM_WORKBOOK::SIM_WORKBOOK( wxWindow* aParent, wxWindowID aId, const wxPoint& aPos, const wxSize&
|
||||||
aSize, long aStyle ) : wxAuiNotebook( aParent, aId, aPos, aSize, aStyle )
|
aSize, long aStyle ) : wxAuiNotebook( aParent, aId, aPos, aSize, aStyle )
|
||||||
{
|
{
|
||||||
|
m_modified = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue