Skip to content

Commit

Permalink
Fixed dialog display problem on MacOSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
xalioth committed Jun 2, 2010
1 parent ade8a18 commit a853b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/StelDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void StelDialog::setVisible(bool v)
proxy->setWindowFrameMargins(2,0,2,2);

// The caching is buggy on all plateforms with Qt 4.5.2
proxy->setCacheMode(QGraphicsItem::DeviceCoordinateCache);
proxy->setCacheMode(QGraphicsItem::ItemCoordinateCache);

proxy->setZValue(100);
StelMainGraphicsView::getInstance().scene()->setActiveWindow(proxy);
Expand Down

0 comments on commit a853b54

Please sign in to comment.