Set grid visible when open new window
This commit is contained in:
1 parent
ed16d97b20
commit
ca5072e811
2 files changed
+1
-1
No files matched your search
@@ -66,7 +66,6 @@ void GridManager::drawGrid( QPixmap &image, const QRect& area, QPainter *painter
|
||||
QPen mainPen = QPen( color, 1, Qt::SolidLine );
|
||||
|
||||
style = Solid;
|
||||
hSpacing = vSpacing = 64;
|
||||
switch( style )
|
||||
{
|
||||
case IntersectionDot:
|
||||
|
||||
@@ -372,6 +372,7 @@ Void VideoHandle::openSubWindow( VideoSubWindow* subWindow )
|
||||
{
|
||||
connect( subWindow->getViewArea(), SIGNAL( selectionChanged( QRect ) ), this, SLOT( updateSelectionArea( QRect ) ) );
|
||||
subWindow->getViewArea()->setTool( m_uiViewTool );
|
||||
subWindow->getViewArea()->setGridVisible( m_arrayActions[SHOW_GRID_ACT]->isChecked() );
|
||||
}
|
||||
|
||||
Void VideoHandle::closeSubWindow( SubWindowAbstract* subWindow )
|
||||
|
||||
Reference in new issue
Block a user