mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
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:
parent
4a993de579
commit
c66026886e
@ -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 )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user