Emit Window::layerChanged signal
Otherwise it's not possible to change layers at runtime.
This commit is contained in:
		
							parent
							
								
									541497ff5f
								
							
						
					
					
						commit
						497d50c4df
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -91,6 +91,7 @@ Window::KeyboardInteractivity Window::keyboardInteractivity() const
 | 
				
			||||||
void Window::setLayer(Layer layer)
 | 
					void Window::setLayer(Layer layer)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    d->layer = layer;
 | 
					    d->layer = layer;
 | 
				
			||||||
 | 
					    Q_EMIT layerChanged();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void Window::setScope(const QString &scope)
 | 
					void Window::setScope(const QString &scope)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue