The following commit has been merged in the master branch:
commit 213138e583321648d32562c74980d6b0f0c974a4
Author: Giuseppe Sucameli <brush.ty...@gmail.com>
Date:   Sun Mar 11 02:30:15 2012 +0100

    BuildVRT: set input layer list when tool starting (follow d6ea1a03).
    Thanks Etienne for the patch.

diff --git a/python/plugins/GdalTools/tools/doBuildVRT.py 
b/python/plugins/GdalTools/tools/doBuildVRT.py
index d2483a9..d355ffe 100644
--- a/python/plugins/GdalTools/tools/doBuildVRT.py
+++ b/python/plugins/GdalTools/tools/doBuildVRT.py
@@ -47,6 +47,7 @@ class GdalToolsDialog(QWidget, Ui_Widget, BasePluginWidget):
   def initialize(self):
       # connect to mapCanvas.layerChanged() signal
       self.connect(self.iface.mapCanvas(), SIGNAL("layersChanged()"), 
self.onVisibleLayersChanged)
+      self.onVisibleLayersChanged()
       BasePluginWidget.initialize(self)
 
   def onClosing(self):

-- 
The Quantum GIS in Debian project

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to