##// END OF EJS Templates
Fix for D&D bug on mac
Fix for D&D bug on mac

File last commit:

r884:9b45c5936f92
r911:9102bdac4611
Show More
VariableInspectorTableView.cpp
13 lines | 464 B | text/x-c | CppLexer
/ gui / src / Variable / VariableInspectorTableView.cpp
Reset of the drag&drop operations when a drag is started from the datasource or from the variables
r877 #include "Variable/VariableInspectorTableView.h"
Moves the DragDropHelper file
r884 #include "DragAndDrop/DragDropHelper.h"
Reset of the drag&drop operations when a drag is started from the datasource or from the variables
r877 #include "SqpApplication.h"
VariableInspectorTableView::VariableInspectorTableView(QWidget *parent) : QTableView(parent) {}
void VariableInspectorTableView::startDrag(Qt::DropActions supportedActions)
{
// Resets the drag&drop operations before it's starting
sqpApp->dragDropHelper().resetDragAndDrop();
QTableView::startDrag(supportedActions);
}