Prevent piano roll window from being resized to 0px height (http://sourceforge.net/p/lmms/patches/43/)
This commit is contained in:
@@ -618,7 +618,7 @@ pianoRoll::pianoRoll() :
|
||||
if( engine::mainWindow()->workspace() )
|
||||
{
|
||||
engine::mainWindow()->workspace()->addSubWindow( this );
|
||||
parentWidget()->setMinimumWidth( tb_layout->minimumSize().width()+10 );
|
||||
parentWidget()->setMinimumSize( tb_layout->minimumSize().width()+10, 200 );
|
||||
parentWidget()->resize( tb_layout->minimumSize().width()+10,
|
||||
INITIAL_PIANOROLL_HEIGHT );
|
||||
parentWidget()->hide();
|
||||
|
||||
Reference in New Issue
Block a user