From ab98551fec7e8f34079e345d5643a5c40af2ee18 Mon Sep 17 00:00:00 2001 From: Yoann Quenach de Quivillic Date: Thu, 25 May 2023 00:36:01 +0200 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Étienne Trimaille --- python/console/console_output.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/console/console_output.py b/python/console/console_output.py index 921d72d7145..55dec14d620 100644 --- a/python/console/console_output.py +++ b/python/console/console_output.py @@ -91,9 +91,10 @@ imported and can be used directly. Useful variables: +- iface will return the current QGIS interface, class 'QgisInterface' - iface.mainWindow() will return the Qt Main Window - iface.mapCanvas() will return the map canvas -- iface.layerTreeView() will return the Layer Tree +- iface.layerTreeView() will return the layer tree - iface.activeLayer() will return the active layer - QgsProject.instance() will return the current project