A correction for the case when the user calls the distance editor and moves quickly over the view with mouse button pressed. In SALOME version QtxWorkstack listens the events and set focus to the active widget. As a result the widget editor loses focus.
void editedValue(double& outValue, QString& outText)
{
- QDialog aDlg(QApplication::desktop(), Qt::Popup/* | Qt::FramelessWindowHint*/);
+ QDialog aDlg(QApplication::desktop(), Qt::FramelessWindowHint);
QHBoxLayout* aLay = new QHBoxLayout(&aDlg);
aLay->setContentsMargins(2, 2, 2, 2);