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:
parent
ea4e06124e
commit
4b5c010e63
|
@ -399,8 +399,8 @@ void DIALOG_SHIM::OnPaint( wxPaintEvent &event )
|
|||
|
||||
void DIALOG_SHIM::OnModify()
|
||||
{
|
||||
if( !GetTitle().EndsWith( "*" ) )
|
||||
SetTitle( GetTitle() + "*" );
|
||||
if( !GetTitle().StartsWith( "*" ) )
|
||||
SetTitle( "*" + GetTitle() );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue