Prompt if overwriting the net inspector CSV report

This commit is contained in:
Ian McInerney 2023-11-23 11:49:40 +00:00
parent 0508a9ce83
commit 1194a91be4
1 changed files with 1 additions and 1 deletions

View File

@ -2244,7 +2244,7 @@ void DIALOG_NET_INSPECTOR::onReport( wxCommandEvent& aEvent )
{ {
wxFileDialog dlg( this, _( "Save Report File" ), "", "", wxFileDialog dlg( this, _( "Save Report File" ), "", "",
_( "Report file" ) + AddFileExtListToFilter( { "csv" } ), _( "Report file" ) + AddFileExtListToFilter( { "csv" } ),
wxFD_SAVE ); wxFD_SAVE | wxFD_OVERWRITE_PROMPT );
if( dlg.ShowModal() == wxID_CANCEL ) if( dlg.ShowModal() == wxID_CANCEL )
return; return;