mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 23:46:00 -06:00
parent
5e2129a93b
commit
d5c8ed79a0
@ -688,6 +688,7 @@ void RiuQwtPlotWidget::applyPlotTitleToQwt()
|
||||
{
|
||||
QString plotTitleToApply = m_plotTitleEnabled ? m_plotTitle : QString( "" );
|
||||
QwtText plotTitle = this->title();
|
||||
plotTitle.setRenderFlags( Qt::AlignHCenter | Qt::TextSingleLine );
|
||||
if ( plotTitleToApply != plotTitle.text() )
|
||||
{
|
||||
plotTitle.setText( plotTitleToApply );
|
||||
|
Loading…
Reference in New Issue
Block a user