[qet] [3812] Project config page -> auto num : add clear button to line edit of the combo box

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3812
Author:   blacksun
Date:     2015-03-05 17:55:17 +0100 (Thu, 05 Mar 2015)
Log Message:
-----------
Project config page -> auto num : add clear button to line edit of the combo box

Modified Paths:
--------------
    trunk/sources/projectconfigpages.cpp

Modified: trunk/sources/projectconfigpages.cpp
===================================================================
--- trunk/sources/projectconfigpages.cpp	2015-03-05 16:35:12 UTC (rev 3811)
+++ trunk/sources/projectconfigpages.cpp	2015-03-05 16:55:17 UTC (rev 3812)
@@ -254,6 +254,7 @@
 
 	m_context_cb = new QComboBox(this);
 	m_context_cb->setEditable(true);
+	m_context_cb->lineEdit()->setClearButtonEnabled(true);
 	m_context_cb->addItem(tr("Nom de la nouvelle numérotation"));
 
 	m_remove_pb = new QPushButton(QET::Icons::EditDelete, QString(), this);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/