Skip to content
Permalink
Browse files

Qt: increase limit on object range.

Frames usually have hundreds of objects, occasionally thousands.
The default limit of 99 makes this UI useless for these frames.
  • Loading branch information...
phire committed Sep 8, 2019
1 parent 828dc0f commit cf80b438cb9963b29c1f97daf8fcd4d8b5d5d267
Showing with 5 additions and 0 deletions.
  1. +5 −0 Source/Core/DolphinQt/FIFO/FIFOPlayerWindow.cpp
@@ -86,6 +86,11 @@ void FIFOPlayerWindow::CreateWidgets()
m_object_range_to = new QSpinBox;
m_object_range_to_label = new QLabel(tr("To:"));

// Frames can have thousands of objects
// Extend maximum range from 99 to something more reasonable
m_object_range_from->setMaximum(99999);
m_object_range_to->setMaximum(99999);

object_range_layout->addWidget(m_object_range_from_label);
object_range_layout->addWidget(m_object_range_from);
object_range_layout->addWidget(m_object_range_to_label);

0 comments on commit cf80b43

Please sign in to comment.
You can’t perform that action at this time.