Skip to content

Commit 54e6eb3

Browse files
committedMay 11, 2016
[Style Dock] Only disable the widget and not the dock
1 parent ab288c6 commit 54e6eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5532,11 +5532,11 @@ void QgisApp::setMapStyleDockLayer( QgsMapLayer* layer )
55325532
{
55335533
if ( !layer )
55345534
{
5535-
mMapStylingDock->setEnabled( false );
5535+
mMapStyleWidget->setEnabled( false );
55365536
return;
55375537
}
55385538

5539-
mMapStylingDock->setEnabled( true );
5539+
mMapStyleWidget->setEnabled( true );
55405540
// We don't set the layer if the dock isn't open mainly to save
55415541
// the extra work if it's not needed
55425542
if ( mMapStylingDock->isVisible() )

0 commit comments

Comments
 (0)
Failed to load comments.