From 39d0e94cece1aa7a0b718d3c0defb1518aaad916 Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 6 Mar 2014 17:31:36 +0200 Subject: [PATCH] Restore cursor after warning. --HG-- branch : feature --- src/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 315ef1196..563bbdbae 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -917,6 +917,9 @@ void MainWindow::Clear() ui->actionSave->setEnabled(false); ui->actionPattern_properties->setEnabled(false); SetEnableTool(false); +#ifndef QT_NO_CURSOR + QApplication::restoreOverrideCursor(); +#endif } void MainWindow::NewPattern()