fix ET sunplug writing spinbox content with prefix
This commit is contained in:
parent
1e909131be
commit
5e0d1b789d
|
|
@ -260,8 +260,8 @@ void MapCoordinator(){
|
||||||
|
|
||||||
if( dialog.exec() ){
|
if( dialog.exec() ){
|
||||||
UndoableCommand undo( "SunPlug.entitySetMapcoords" );
|
UndoableCommand undo( "SunPlug.entitySetMapcoords" );
|
||||||
theWorldspawn->setKeyValue( "mapcoordsmins", ( spin_minX->text() + " " + spin_minY->text() ).toLatin1().constData() );
|
theWorldspawn->setKeyValue( "mapcoordsmins", ( spin_minX->cleanText() + " " + spin_minY->cleanText() ).toLatin1().constData() );
|
||||||
theWorldspawn->setKeyValue( "mapcoordsmaxs", ( spin_maxX->text() + " " + spin_maxY->text() ).toLatin1().constData() );
|
theWorldspawn->setKeyValue( "mapcoordsmaxs", ( spin_maxX->cleanText() + " " + spin_maxY->cleanText() ).toLatin1().constData() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user