Commits

_vios committed 5e8b3b3

originのglobal変数宣言忘れの修正?

  • Participants
  • Parent commits f94a8b2

Comments (0)

Files changed (1)

         dlg.Destroy()
 
     def setDropedList(self,path):
-        global dirPath,flist,startPath,endPath
+        global dirPath,flist,startPath,endPath,originalFile
         originalFile = path
         if not os.path.isdir(path):
             print "this is not direcotry!!"
         global dirPath
         if originalFile is None : 
             return
-        dlg = wx.MessageDialog(self,dirPath+u"\n\nを本当に削除しますか?",u"確認",wx.OK|wx.CANCEL|wx.ICON_QUESTION)
+        dlg = wx.MessageDialog(self,originalFile+u"\n\nを本当に削除しますか?",u"確認",wx.OK|wx.CANCEL|wx.ICON_QUESTION)
         result = dlg.ShowModal()
         if result == wx.ID_OK :
             print "run"