Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/clientdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,16 @@ void CClientDlg::OnLoadChannelSetup()

void CClientDlg::OnSaveChannelSetup()
{
QString strFileName = QFileDialog::getSaveFileName ( this, tr ( "Select Channel Setup File" ), "", QString ( "*." ) + MIX_SETTINGS_FILE_SUFFIX );
#if defined( Q_OS_IOS )
// the iOS file dialog only uses the file name as a suggestion, and the saved file
// must keep the suffix, otherwise the load dialog will not show it again. This is a workaround.
const QString strDefaultName = QString ( "MixerSetup." ) + MIX_SETTINGS_FILE_SUFFIX;
#else
const QString strDefaultName = "";
#endif

QString strFileName =
QFileDialog::getSaveFileName ( this, tr ( "Select Channel Setup File" ), strDefaultName, QString ( "*." ) + MIX_SETTINGS_FILE_SUFFIX );

if ( !strFileName.isEmpty() )
{
Expand Down
Loading