Skip to content

Commit

Permalink
Don't update the titlebar every time someone touches the keyboard.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 28, 2007
1 parent 1bffbc2 commit 65009af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/toby_wxwidgets.cpp
Expand Up @@ -1446,8 +1446,11 @@ void TobyIDEFrame::onMenuSaveAs(wxCommandEvent &evt)

void TobyIDEFrame::onTextModified(wxCommandEvent &evt)
{
this->modified = true;
this->updateTitleBar();
if (!this->modified)
{
this->modified = true;
this->updateTitleBar();
} // if
} // TobyIDEFrame::onTextModified

#endif // TOBY_WX_BUILD_IDE
Expand Down

0 comments on commit 65009af

Please sign in to comment.