Skip to content

Commit

Permalink
Don't use combobox of existing composer names in new composer title d…
Browse files Browse the repository at this point in the history
…ialog

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

Fix #12673 (indirectly)
  • Loading branch information
nyalldawson committed Mar 21, 2017
1 parent 4a993de commit c660268
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/qgisapp.cpp
Expand Up @@ -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 )
{
Expand Down

0 comments on commit c660268

Please sign in to comment.