Standardize asterix at the beginning of title

This is how the unsaved state is presented in Editor Frames (for
better/worse) so we should be consistent
This commit is contained in:
Seth Hillbrand 2021-10-25 09:36:23 -07:00
parent ea4e06124e
commit 4b5c010e63
1 changed files with 2 additions and 2 deletions

View File

@ -399,8 +399,8 @@ void DIALOG_SHIM::OnPaint( wxPaintEvent &event )
void DIALOG_SHIM::OnModify()
{
if( !GetTitle().EndsWith( "*" ) )
SetTitle( GetTitle() + "*" );
if( !GetTitle().StartsWith( "*" ) )
SetTitle( "*" + GetTitle() );
}