Skip to content

Commit 389d75a

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 3079de6 + ef8174f commit 389d75a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Source/Plugins/LfpDisplayNode/LfpDisplayCanvas.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ void LfpDisplayCanvas::comboBoxChanged(ComboBox* cb)
576576

577577
int LfpDisplayCanvas::getChannelHeight()
578578
{
579-
return spreads[spreadSelection->getSelectedId()-1].getIntValue();
579+
//return spreads[spreadSelection->getSelectedId()-1].getIntValue(); // is not set correctly after the mouse wheel was used to change hieghts
580+
return (int)spreadSelection->getText().getIntValue(); // instead, get value from textbox directly
580581
}
581582

582583

0 commit comments

Comments
 (0)