Commit 39891664 authored by Cyril Poupon's avatar Cyril Poupon
Browse files

Merge branch 'master' of framagit.org:cpoupon/gkg

parents 156452ab aef82703
......@@ -114,7 +114,7 @@ void gkg::CoordinateSpinBoxes::updateSlice( gkg::Vector3d< int32_t >& p,
void gkg::CoordinateSpinBoxes::setX( int value )
{
if ( _data )
if ( _data && !_data->empty() )
{
_coordinate.x = value;
......@@ -128,7 +128,7 @@ void gkg::CoordinateSpinBoxes::setX( int value )
void gkg::CoordinateSpinBoxes::setY( int value )
{
if ( _data )
if ( _data && !_data->empty() )
{
_coordinate.y = value;
......@@ -142,7 +142,7 @@ void gkg::CoordinateSpinBoxes::setY( int value )
void gkg::CoordinateSpinBoxes::setZ( int value )
{
if ( _data )
if ( _data && !_data->empty() )
{
_coordinate.z = value;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment