Merge pull request #45 from grejppi/stable-0.4-pianorollresize
Prevent piano roll window from being resized to 0px height
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