mirror of https://github.com/PCSX2/pcsx2.git
gui: Fix missing retry and abort button labels
Retry and abort don't have default labels, so you end up with blank buttons on both Windows and Linux. Fix it. Retry is used by the portable mode settings dialog. I'm not sure if abort is used anywhere.
This commit is contained in:
parent
84b17765c2
commit
f11596fabc
|
@ -263,16 +263,16 @@ ModalButtonPanel::ModalButtonPanel( wxWindow* parent, const MsgButtons& buttons
|
|||
|
||||
#ifdef __WXGTK__
|
||||
if( buttons.HasRetry() )
|
||||
AddActionButton( wxID_RETRY );
|
||||
AddCustomButton( wxID_RETRY, _("Retry") );
|
||||
|
||||
if( buttons.HasAbort() )
|
||||
AddActionButton( wxID_ABORT );
|
||||
AddCustomButton( wxID_ABORT, _("Abort") );
|
||||
#else
|
||||
if( buttons.HasAbort() )
|
||||
AddActionButton( wxID_ABORT );
|
||||
AddCustomButton( wxID_ABORT, _("Abort") );
|
||||
|
||||
if( buttons.HasRetry() )
|
||||
AddActionButton( wxID_RETRY );
|
||||
AddCustomButton( wxID_RETRY, _("Retry") );
|
||||
#endif
|
||||
|
||||
if( buttons.HasReset() )
|
||||
|
|
Loading…
Reference in New Issue