Commit 0f3faa45 authored by Jan Möbius's avatar Jan Möbius

Dennis:

Don't hide native cursor, if texture is not loaded.



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6813 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b29c125d
......@@ -204,7 +204,7 @@ void CursorPainter::setEnabled(bool _enabled)
if (initialized_)
{
if (_enabled)
if (_enabled && hasCursor_)
{
foreach (glViewer *v, views_)
v->setCursor (Qt::BlankCursor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment