From afc8aef2381fbfefdb790d839bac64207fe5ee72 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Tue, 2 Sep 2014 15:13:48 +0200 Subject: [PATCH] Change the name in the list too. --HG-- branch : dfighter-tools --- .../studio/src/plugins/georges_editor/georges_dfn_dialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp b/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp index 4db724252..59447ff9b 100644 --- a/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp +++ b/code/studio/src/plugins/georges_editor/georges_dfn_dialog.cpp @@ -126,6 +126,11 @@ void GeorgesDFNDialog::onValueChanged( const QString &key, const QString &value Q_EMIT modified(); } + + if( key == "name" ) + { + m_ui.list->currentItem()->setText( value ); + } } void GeorgesDFNDialog::setupConnections()