mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
use Show/Hide Footnotes instead of just Footnotes. No other way to distinguish this is actually a button, and be consistent with Show/Hide Queue
This commit is contained in:
@@ -276,10 +276,14 @@ ContextWidget::onAnimationFinished()
|
|||||||
m_scene->setSceneRect( ui->contextView->viewport()->rect() );
|
m_scene->setSceneRect( ui->contextView->viewport()->rect() );
|
||||||
layoutViews( false );
|
layoutViews( false );
|
||||||
setQuery( m_query, true );
|
setQuery( m_query, true );
|
||||||
|
|
||||||
|
ui->toggleButton->setText( tr( "Hide Footnotes" ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
setFixedHeight( m_minHeight );
|
setFixedHeight( m_minHeight );
|
||||||
|
|
||||||
|
ui->toggleButton->setText( tr( "Show Footnotes" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Footnotes</string>
|
<string>Show Footnotes</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignCenter</set>
|
<set>Qt::AlignCenter</set>
|
||||||
|
Reference in New Issue
Block a user