Mercurial > octave
changeset 24695:3048291bbed6
enter/return in workspace view also opens the variable for editing
* workspace-view.cc (workspace_view): use signal activated instead of doubleClicked
author | Torsten <mttl@mailbox.org> |
---|---|
date | Tue, 06 Feb 2018 22:09:22 +0100 |
parents | 9b4edcc62936 |
children | 344832a898ad |
files | libgui/src/workspace-view.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/workspace-view.cc Tue Feb 06 20:01:30 2018 +0100 +++ b/libgui/src/workspace-view.cc Tue Feb 06 22:09:22 2018 +0100 @@ -149,7 +149,7 @@ connect (m_view, SIGNAL (customContextMenuRequested (const QPoint&)), this, SLOT (contextmenu_requested (const QPoint&))); - connect (m_view, SIGNAL (doubleClicked (QModelIndex)), + connect (m_view, SIGNAL (activated (QModelIndex)), this, SLOT (handle_contextmenu_edit (void))); connect (this, SIGNAL (command_requested (const QString&)),