Skip to content

Commit

Permalink
Check correct extents.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Dec 10, 2015
1 parent 3b738ef commit 95d7513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Modeling/ModelWidgetContainer.cpp
Expand Up @@ -1179,7 +1179,7 @@ void GraphicsView::addClassAnnotation()
qreal y1 = extent.at(0).y();
qreal x2 = extent.at(1).x();
qreal y2 = extent.at(1).y();
if (x1 != -100 || y1 != -100 || x1 != 100 || y2 != 100) {
if (x1 != -100 || y1 != -100 || x2 != 100 || y2 != 100) {
coOrdinateSystemList.append(QString("extent={{%1, %2}, {%3, %4}}").arg(x1).arg(y1).arg(x2).arg(y2));
}
// add the preserveAspectRatio
Expand Down

0 comments on commit 95d7513

Please sign in to comment.