Commit 25590dac authored by Antoine Cellerier's avatar Antoine Cellerier

Do not lose the playlist columns when switching to a different view.

(cherry picked from commit 98449e55)
parent c8e37b0f
......@@ -850,6 +850,7 @@ void PLModel::viewchanged( int meta )
{
beginRemoveColumns( parent, index, index+1 );
rootItem->i_showflags &= ~( meta );
getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags );
rootItem->updateColumnHeaders();
endRemoveColumns();
}
......@@ -858,6 +859,7 @@ void PLModel::viewchanged( int meta )
/* Adding columns */
beginInsertColumns( parent, index, index+1 );
rootItem->i_showflags |= meta;
getSettings()->setValue( "qt-pl-showflags", rootItem->i_showflags );
rootItem->updateColumnHeaders();
endInsertColumns();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment