Anna Petrasova 5 سال پیش
والد
کامیت
e626e6fdfe
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      gui/wxpython/mapwin/buffered.py

+ 1 - 1
gui/wxpython/mapwin/buffered.py

@@ -1483,7 +1483,7 @@ class BufferedMapWindow(MapWindowBase, Window):
             if (event.LeftIsDown() and
                 not (digitToolbar and
                      digitToolbar.GetAction() in ("moveLine",) and
-                     self.digit.GetDisplay().GetSelected() > 0)):
+                     len(self.digit.GetDisplay().GetSelected()) > 0)):
                 self.MouseDraw(pdc=self.pdcTmp)
 
     def OnLeftDown(self, event):