mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-21 01:42:15 -07:00
somehow changing the order here fixes a bug?
The loaded value was getting clamped to 99
This commit is contained in:
parent
5c7a79cf9b
commit
a647f5ed07
1 changed files with 1 additions and 1 deletions
|
|
@ -509,8 +509,8 @@ UserInterfaceSettingsPage::UserInterfaceSettingsPage()
|
|||
deckEditorGroupBox->setLayout(deckEditorGrid);
|
||||
|
||||
// replay settings
|
||||
rewindBufferingMsBox.setValue(SettingsCache::instance().getRewindBufferingMs());
|
||||
rewindBufferingMsBox.setRange(0, 9999);
|
||||
rewindBufferingMsBox.setValue(SettingsCache::instance().getRewindBufferingMs());
|
||||
connect(&rewindBufferingMsBox, qOverload<int>(&QSpinBox::valueChanged), &SettingsCache::instance(),
|
||||
&SettingsCache::setRewindBufferingMs);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue