Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frédéric Larue
CommonGUI
Commits
0e3f1174
Commit
0e3f1174
authored
Jan 28, 2019
by
Frédéric Larue
Browse files
Bug fix in the ALT selection mode in the TreeView.
parent
628fe64d
Changes
1
Hide whitespace changes
Inline
Side-by-side
GUI_main/UIDataWidget.cpp
View file @
0e3f1174
...
...
@@ -115,7 +115,7 @@ void UIDataWidget::updateSelection( GenericUIData *d, Qt::KeyboardModifiers modi
void
UIDataWidget
::
mouseReleaseEvent
(
QMouseEvent
*
evt
)
{
if
(
QApplication
::
keyboardModifiers
()
&
Qt
::
AltModifier
)
if
(
evt
->
button
()
==
Qt
::
LeftButton
&&
(
QApplication
::
keyboardModifiers
()
&
Qt
::
AltModifier
)
)
{
GenericUIData
*
m
=
((
UIDataWidgetItem
*
)
itemAt
(
evt
->
pos
()))
->
getUIData
();
if
(
m
)
...
...
@@ -135,8 +135,8 @@ void UIDataWidget::mouseReleaseEvent( QMouseEvent *evt )
}
);
}
}
QTreeWidget
::
mouseReleaseEvent
(
evt
);
else
QTreeWidget
::
mouseReleaseEvent
(
evt
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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