Skip to content
Snippets Groups Projects
Commit 2fa72dfb authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Bug with QDoubleSpinBox not accepting "tab" key events

parent 6aa16c12
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ namespace {
QWidget* createCustomDoubleEditor(const SessionItem& item)
{
auto result = new QDoubleSpinBox;
result->setKeyboardTracking(false);
result->setKeyboardTracking(true);
result->setFocusPolicy(Qt::StrongFocus);
result->installEventFilter(new WheelEventEater(result));
......@@ -183,7 +183,7 @@ QWidget* createCustomIntEditor(const SessionItem& item)
result->installEventFilter(new WheelEventEater(result));
result->setMaximum(std::numeric_limits<int>::max());
result->setKeyboardTracking(false);
result->setKeyboardTracking(true);
RealLimits limits = item.limits();
if (limits.hasLowerLimit())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment