Default to zoom to fit.
This commit is contained in:
+1
-1
@@ -128,7 +128,7 @@ glabels::View::setModel( LabelModel* model )
|
|||||||
|
|
||||||
if ( model )
|
if ( model )
|
||||||
{
|
{
|
||||||
setZoomReal( 1, false );
|
zoomToFit();
|
||||||
|
|
||||||
connect( model, SIGNAL(changed()), this, SLOT(update()) );
|
connect( model, SIGNAL(changed()), this, SLOT(update()) );
|
||||||
connect( model, SIGNAL(selectionChanged()), this, SLOT(update()) );
|
connect( model, SIGNAL(selectionChanged()), this, SLOT(update()) );
|
||||||
|
|||||||
Reference in New Issue
Block a user