Skip to content
Permalink
Browse files
Don't use combobox of existing composer names in new composer title d…
…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 c66026886ec7480c7440ae1fead05cb1ecdba8fd
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/app/qgisapp.cpp
@@ -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 )
{

0 comments on commit c660268

Please sign in to comment.