Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
5f7969d0
Commit
5f7969d0
authored
Aug 03, 2010
by
Lasse Holmstedt
Browse files
QML Observer: Go into context dbl click only if using selection tool
parent
f464de1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljsdebugger/qdeclarativedesignview.cpp
View file @
5f7969d0
...
...
@@ -107,6 +107,8 @@ QDeclarativeDesignView::QDeclarativeDesignView(QWidget *parent) :
connect
(
data
->
subcomponentEditorTool
,
SIGNAL
(
contextPathChanged
(
QStringList
)),
qmlDesignDebugServer
(),
SLOT
(
contextPathUpdated
(
QStringList
)));
data
->
createToolbar
();
data
->
_q_changeToSingleSelectTool
();
}
QDeclarativeDesignView
::~
QDeclarativeDesignView
()
...
...
@@ -277,6 +279,13 @@ void QDeclarativeDesignView::mouseDoubleClickEvent(QMouseEvent *event)
QDeclarativeView
::
mouseDoubleClickEvent
(
event
);
return
;
}
if
(
data
->
currentToolMode
!=
Constants
::
SelectionToolMode
&&
data
->
currentToolMode
!=
Constants
::
MarqueeSelectionToolMode
)
{
return
;
}
QGraphicsItem
*
itemToEnter
=
0
;
QList
<
QGraphicsItem
*>
itemList
=
items
(
event
->
pos
());
data
->
filterForSelection
(
itemList
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment