@@ -94,7 +94,7 void DataSourceWidget::onTreeMenuRequested(const QPoint &pos) noexcept | |||||
94 | treeMenu.addActions(selectedItem->actions()); |
|
94 | treeMenu.addActions(selectedItem->actions()); | |
95 |
|
95 | |||
96 | if (!treeMenu.isEmpty()) { |
|
96 | if (!treeMenu.isEmpty()) { | |
97 |
treeMenu.exec( |
|
97 | treeMenu.exec(QCursor::pos()); | |
98 | } |
|
98 | } | |
99 | } |
|
99 | } | |
100 | } |
|
100 | } |
@@ -189,7 +189,7 void VariableInspectorWidget::onTableMenuRequested(const QPoint &pos) noexcept | |||||
189 | tableMenu.insertAction(firstAction, headerAction); |
|
189 | tableMenu.insertAction(firstAction, headerAction); | |
190 |
|
190 | |||
191 | // Displays menu |
|
191 | // Displays menu | |
192 |
tableMenu.exec( |
|
192 | tableMenu.exec(QCursor::pos()); | |
193 | } |
|
193 | } | |
194 | } |
|
194 | } | |
195 |
|
195 |
General Comments 0
You need to be logged in to leave comments.
Login now