Skip to content

Commit

Permalink
Display time as time in status bar for Y also.
Browse files Browse the repository at this point in the history
  • Loading branch information
netterfield committed Feb 21, 2015
1 parent 1365ccf commit 1537106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libkstapp/plotrenderitem.cpp
Expand Up @@ -823,12 +823,12 @@ void PlotRenderItem::processHoverMoveEvent(const QPointF &p, bool delayed) {
if (bFoundImage) {
message = QString("%1 (%2, %3, %4)").arg(imageName).
arg(plotItem()->xAxis()->statusBarString(point.x())).
arg(QString::number(point.y())).
arg(plotItem()->yAxis()->statusBarString(point.y())).
arg(QString::number(imageZ));
} else {
message = QString("(%1, %2)").
arg(plotItem()->xAxis()->statusBarString(point.x())).
arg(QString::number(point.y()));
arg(plotItem()->yAxis()->statusBarString(point.y()));
}
if (_referencePointMode) {
message += QString(" [Offset: %1, %2]").arg(QString::number(point.x() - _referencePoint.x(), 'G')).arg(QString::number(point.y() - _referencePoint.y()));
Expand Down

0 comments on commit 1537106

Please sign in to comment.