forked from qt-creator/qt-creator
QmlDesigner: Increase delay for text editor
This increases the delay from 400ms to 800ms until the model and GUI is synced with the QML code. This means the user has to stop typing for 800ms until the form editor and property editor are updated. Change-Id: Ia250dec39cd8051d25619310024b718ad1cf9815 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ RewriterView::RewriterView(DifferenceHandling differenceHandling, QObject *paren
|
||||
m_textToModelMerger(new Internal::TextToModelMerger(this))
|
||||
{
|
||||
m_amendTimer.setSingleShot(true);
|
||||
m_amendTimer.setInterval(400);
|
||||
m_amendTimer.setInterval(800);
|
||||
connect(&m_amendTimer, &QTimer::timeout, this, &RewriterView::amendQmlText);
|
||||
|
||||
QmlJS::ModelManagerInterface *modelManager = QmlJS::ModelManagerInterface::instance();
|
||||
|
||||
Reference in New Issue
Block a user