##// END OF EJS Templates
Fix some glitches which occurred when dragging in the visualization something from the sides.
Fix some glitches which occurred when dragging in the visualization something from the sides.

File last commit:

r877:4dce99ba7a36
r880:4ed691514436
Show More
VariableInspectorTableView.cpp
13 lines | 452 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"
#include "DragDropHelper.h"
#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);
}