mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
fix #4941
This commit is contained in:
parent
0ce442d511
commit
a406a88381
@ -1,5 +1,8 @@
|
||||
%Exception QgsCsException(SIP_Exception) /PyName=QgsCsException/
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <qgscsexception.h>
|
||||
%End
|
||||
%RaiseCode
|
||||
SIP_BLOCK_THREADS
|
||||
PyErr_SetString(sipException_QgsCsException, sipExceptionRef.what().toUtf8().constData() );
|
||||
@ -9,6 +12,9 @@
|
||||
|
||||
%Exception QgsException(SIP_Exception) /PyName=QgsException/
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <qgsexception.h>
|
||||
%End
|
||||
%RaiseCode
|
||||
SIP_BLOCK_THREADS
|
||||
PyErr_SetString(sipException_QgsException, sipExceptionRef.what().toUtf8().constData() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user