BlackFullMoon 1
BlackFullMoon
Mt2Hizmet 1
Mt2Hizmet
mavzermete 1
mavzermete
Vahsi Uzman 1
Vahsi Uzman
kralhakan2009 1
kralhakan2009
farkmt2official 1
farkmt2official
Bvural41 1
Bvural41
Hikaye Ekle

Mini Haritada istediğiniz yere ışınlanın

5.00 yıldız(lar) 1 Değerlendirme Değerlendirenler
Ekli dosyayı görüntüle 85563
Everything added correctly from the topic, how can it happen actually that there is no attribute
Bu hatayı alan arkadaşların ui.py de window class ında "SetOnMouseLeftButtonUpEvent" muhtemelen target info yüzünden else de

if app.ENABLE_TARGET_INFO:
def SetMouseLeftButtonUpEvent(self, event, *args):
self.mouseLeftButtonUpEvent = event
self.mouseLeftButtonUpArgs = args
else:
def SetOnMouseLeftButtonUpEvent(self, event):
self.onMouseLeftButtonUpEvent = event

bu şekilde bir yapınız varsa

if app.ENABLE_TARGET_INFO:
def SetMouseLeftButtonUpEvent(self, event, *args):
self.mouseLeftButtonUpEvent = event
self.mouseLeftButtonUpArgs = args
# else:
# def SetOnMouseLeftButtonUpEvent(self, event):
# self.onMouseLeftButtonUpEvent = event

def SetOnMouseLeftButtonUpEvent(self, event):
self.onMouseLeftButtonUpEvent = event

bu şekilde değiştirin
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst