mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix crash on CRS validation
This commit is contained in:
parent
7de5ad9238
commit
cec3cf82e6
@ -382,7 +382,7 @@ void QgisApp::validateSrs( QgsCoordinateReferenceSystem &srs )
|
||||
mySelector->setSelectedCrsId( defaultCrs.srsid() );
|
||||
}
|
||||
|
||||
bool waiting = QApplication::overrideCursor()->shape() == Qt::WaitCursor;
|
||||
bool waiting = QApplication::overrideCursor() && QApplication::overrideCursor()->shape() == Qt::WaitCursor;
|
||||
if ( waiting )
|
||||
QApplication::setOverrideCursor( Qt::ArrowCursor );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user