Don't use combobox of existing composer names in new composer title dialog

It's odd UX - selecting any of these results in an error message,
so giving them as choices is misleading.

Fix #12673 (indirectly)
This commit is contained in:
Nyall Dawson 2017-03-19 12:42:35 +10:00
parent 4a993de579
commit c66026886e

View File

@ -6936,12 +6936,11 @@ bool QgisApp::uniqueComposerTitle( QWidget *parent, QString &composerTitle, bool
while ( !titleValid )
{
newTitle = QInputDialog::getItem( parent,
newTitle = QInputDialog::getText( parent,
tr( "Composer title" ),
titleMsg,
cNames,
cNames.indexOf( newTitle ),
true,
QLineEdit::Normal,
newTitle,
&ok );
if ( !ok )
{