mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-03 23:52:25 +02:00
Fix adding of controls that wouldn't go to the right place.
This commit is contained in:
parent
07cb94b1bc
commit
f5749a5db2
@ -143,7 +143,7 @@ void DynamicControlList::addNewControl()
|
||||
m_layout->removeItem( m_collapseLayout );
|
||||
|
||||
dyncontrol_ptr control = m_generator->createControl();
|
||||
m_controls.append( new DynamicControlWrapper( control, m_layout, m_controls.size(), this ) );
|
||||
m_controls.append( new DynamicControlWrapper( control, m_layout, m_layout->rowCount(), this ) );
|
||||
connect( m_controls.last(), SIGNAL( removeControl() ), this, SLOT( removeControl() ) );
|
||||
connect( m_controls.last(), SIGNAL( changed() ), this, SLOT( controlChanged() ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user