Fix compile error due to enum changes
Merge request !23 changed to strongly typed enums, so we now need to explicitly cast the output in the Python getters.
This commit is contained in:
parent
11ff16be4e
commit
7fb56cf9a3
|
@ -171,7 +171,7 @@ void UpdateUserInterface()
|
||||||
int GetUserUnits()
|
int GetUserUnits()
|
||||||
{
|
{
|
||||||
if( s_PcbEditFrame )
|
if( s_PcbEditFrame )
|
||||||
return s_PcbEditFrame->GetUserUnits();
|
return static_cast<int>( s_PcbEditFrame->GetUserUnits() );
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue