diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-23 13:50:35 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-23 13:50:35 (GMT) |
commit | 6041c6c6c1e46f9ffb69c5bd3692037f4b340728 (patch) | |
tree | f09da0ebb162fbac411e81b0b3d5e57bf2240fac /tools/designer | |
parent | f160e04ebe2926d09c20ef3960def1388a566db7 (diff) | |
download | Qt-6041c6c6c1e46f9ffb69c5bd3692037f4b340728.zip Qt-6041c6c6c1e46f9ffb69c5bd3692037f4b340728.tar.gz Qt-6041c6c6c1e46f9ffb69c5bd3692037f4b340728.tar.bz2 |
Designer: Minor BT issue: '-' button in Signal/Slot editor not updated.
Reviewed-by: Carlos Manuel Duclos Vergara <carlos.duclos@nokia.com>
Diffstat (limited to 'tools/designer')
-rw-r--r-- | tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp b/tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp index 5547761..794722e 100644 --- a/tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp +++ b/tools/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp @@ -724,7 +724,7 @@ SignalSlotEditorWindow::SignalSlotEditorWindow(QDesignerFormEditorInterface *cor | QAbstractItemView::EditKeyPressed); m_view->setRootIsDecorated(false); m_view->setTextElideMode (Qt::ElideMiddle); - connect(m_view, SIGNAL(activated(QModelIndex)), this, SLOT(updateUi())); + connect(m_view->selectionModel(), SIGNAL(currentChanged(QModelIndex,QModelIndex)), this, SLOT(updateUi())); connect(m_view->header(), SIGNAL(sectionDoubleClicked(int)), m_view, SLOT(resizeColumnToContents(int))); QVBoxLayout *layout = new QVBoxLayout(this); |