russell: thuban/Thuban/UI view.py,1.64,1.65
cvs@intevation.de
cvs at intevation.de
Wed Apr 13 18:08:36 CEST 2005
Author: russell
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv13109/Thuban/UI
Modified Files:
view.py
Log Message:
Fixing bug #2921, panning with middle button not working without active tool
Index: view.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/view.py,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- view.py 27 Dec 2004 16:31:32 -0000 1.64
+++ view.py 13 Apr 2005 16:08:33 -0000 1.65
@@ -358,9 +358,9 @@
def OnMiddleDown(self, event):
self.remembertool = self.tool
- if self.tool:
+ if self.Map() is not None and self.Map().HasLayers():
self.PanTool()
- self.OnLeftDown(event)
+ self.OnLeftDown(event)
def OnMiddleUp(self, event):
self.OnLeftUp(event)
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)