Skip to content

Commit

Permalink
Remove the footer the hint (#7386)
Browse files Browse the repository at this point in the history
Italic the vs word in legend
  • Loading branch information
adeas31 committed Apr 16, 2021
1 parent 4d36ade commit 48bf0c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions OMEdit/OMEditLIB/Plotting/PlotWindowContainer.cpp
Expand Up @@ -307,8 +307,6 @@ void PlotWindowContainer::addParametricPlotWindow()
pPlotWindow->setLegendPosition("top");
pPlotWindow->setAutoScale(OptionsDialog::instance()->getPlottingPage()->getAutoScaleCheckBox()->isChecked());
pPlotWindow->setTimeUnit(MainWindow::instance()->getVariablesWidget()->getSimulationTimeComboBox()->currentText());
pPlotWindow->setFooter(tr("Select the x-axis variable while holding down the shift key, release the shift key and then select y-axis variables. "
"One or many y-axis variables can be selected against one x-axis variable."));
pPlotWindow->installEventFilter(this);
QMdiSubWindow *pSubWindow = addSubWindow(pPlotWindow);
PlottingPage *pPlottingPage = OptionsDialog::instance()->getPlottingPage();
Expand Down
2 changes: 1 addition & 1 deletion OMPlot/OMPlot/OMPlotGUI/PlotCurve.cpp
Expand Up @@ -85,7 +85,7 @@ void PlotCurve::setTitleLocal()
xVariable += QString(" (%1)").arg(getXDisplayUnit());
}
if (!xVariable.isEmpty()) {
titleStr += QString(" vs %1").arg(xVariable);
titleStr += QString(" <i>vs</i> %1").arg(xVariable);
}
}
QwtPlotItem::setTitle(titleStr);
Expand Down

0 comments on commit 48bf0c8

Please sign in to comment.