Commit 970a1b94 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: profile editor: fix buttons

parent e4e9f0c8
......@@ -249,7 +249,8 @@ VLCProfileEditor::VLCProfileEditor( const QString& qs_name, const QString& value
setATranscodeOptions( false );
setSTranscodeOptions( false );
QPushButton *saveButton = new QPushButton( qtr( "Save" ) );
QPushButton *saveButton = new QPushButton(
( qs_name.isEmpty() ) ? qtr( "Create" ) : qtr( "Save" ) );
ui.buttonBox->addButton( saveButton, QDialogButtonBox::AcceptRole );
BUTTONACT( saveButton, close() );
QPushButton *cancelButton = new QPushButton( qtr( "Cancel" ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment