diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2019-01-16 09:38:08 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-16 09:38:08 -0200 |
commit | 9c7c255d7dc957241364aca0e5322da926e33fc7 (patch) | |
tree | 16dda6fad8398941c3c8e4db6d48ef98602ec06f /Project/MainFrame.cpp | |
parent | af070d92462ac5586aa6a0a80c51a8fa72710600 (diff) | |
parent | db3fadbcc9f396ca22c4578101bbcd0a7e81609e (diff) | |
download | PSP.git-9c7c255d7dc957241364aca0e5322da926e33fc7.tar.gz PSP.git-9c7c255d7dc957241364aca0e5322da926e33fc7.tar.xz PSP.git-9c7c255d7dc957241364aca0e5322da926e33fc7.zip |
Merge pull request #46 from Thales1330/wip/induction-motor
Wip/induction motor
Diffstat (limited to 'Project/MainFrame.cpp')
-rw-r--r-- | Project/MainFrame.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/MainFrame.cpp b/Project/MainFrame.cpp index 7d129b4..5afff94 100644 --- a/Project/MainFrame.cpp +++ b/Project/MainFrame.cpp @@ -63,6 +63,7 @@ MainFrame::MainFrame(wxWindow* parent, wxLocale* locale, PropertiesData* initPro m_auiNotebook->Layout(); newWorkspace->Redraw(); newWorkspace->SetJustOpened(true); + newWorkspace->Fit(); m_projectNumber++; } } @@ -299,6 +300,7 @@ void MainFrame::OnOpenClick(wxRibbonButtonBarEvent& event) m_auiNotebook->Layout(); newWorkspace->Redraw(); newWorkspace->SetJustOpened(true); + newWorkspace->Fit(); m_projectNumber++; } else { wxMessageDialog msgDialog(this, _("It was not possible to open the selected file."), _("Error"), |