[Fix] resedit: Double click system selection bug.
This commit is contained in:
parent
1f0796919c
commit
046f7d8eb9
@ -81,7 +81,7 @@ def save(xmlfile, data, basetag, tag, has_name=True, do_array=None):
|
|||||||
xml.appendChild(base)
|
xml.appendChild(base)
|
||||||
|
|
||||||
fp = open(xmlfile, "w")
|
fp = open(xmlfile, "w")
|
||||||
xml.writexml(fp, "", "", "\n", "UTF-8")
|
xml.writexml(fp, "", "", "", "UTF-8")
|
||||||
|
|
||||||
xml.unlink()
|
xml.unlink()
|
||||||
|
|
||||||
|
Binary file not shown.
@ -250,7 +250,7 @@ class space:
|
|||||||
if abs(sx-mx) < r and abs(sy-my) < r:
|
if abs(sx-mx) < r and abs(sy-my) < r:
|
||||||
if event.button == 1 and event.type == gtk.gdk._2BUTTON_PRESS:
|
if event.button == 1 and event.type == gtk.gdk._2BUTTON_PRESS:
|
||||||
tree = self.__swidget("treSystems")
|
tree = self.__swidget("treSystems")
|
||||||
self.__selfSys(name)
|
self.__selSys(name)
|
||||||
elif event.button == 1:
|
elif event.button == 1:
|
||||||
self.space_sel = name
|
self.space_sel = name
|
||||||
self.__space_draw()
|
self.__space_draw()
|
||||||
@ -396,7 +396,7 @@ class space:
|
|||||||
tree.set_cursor(i)
|
tree.set_cursor(i)
|
||||||
self.__update()
|
self.__update()
|
||||||
break
|
break
|
||||||
i = i+1
|
i = i+1
|
||||||
|
|
||||||
def debug(self):
|
def debug(self):
|
||||||
print "SYSTEMS LOADED:"
|
print "SYSTEMS LOADED:"
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user