Skip to content

Commit c660268

Browse files
committedMar 21, 2017
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)
1 parent 4a993de commit c660268

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6936,12 +6936,11 @@ bool QgisApp::uniqueComposerTitle( QWidget *parent, QString &composerTitle, bool
69366936

69376937
while ( !titleValid )
69386938
{
6939-
newTitle = QInputDialog::getItem( parent,
6939+
newTitle = QInputDialog::getText( parent,
69406940
tr( "Composer title" ),
69416941
titleMsg,
6942-
cNames,
6943-
cNames.indexOf( newTitle ),
6944-
true,
6942+
QLineEdit::Normal,
6943+
newTitle,
69456944
&ok );
69466945
if ( !ok )
69476946
{

0 commit comments

Comments
 (0)
Please sign in to comment.