mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-02 07:25:45 -04:00
sort the saved-out lump in alphabetical order
This commit is contained in:
parent
38dd9fc90a
commit
8059b85000
1 changed files with 3 additions and 1 deletions
|
@ -308,8 +308,10 @@ class HellowWorldGTK:
|
||||||
def save_activated(self, arg):
|
def save_activated(self, arg):
|
||||||
if not hasattr(self, "filename"):
|
if not hasattr(self, "filename"):
|
||||||
self.saveas_activated(arg)
|
self.saveas_activated(arg)
|
||||||
|
saveme = self.wip_textures.values()
|
||||||
|
saveme.sort()
|
||||||
writetome = open(self.filename,"w")
|
writetome = open(self.filename,"w")
|
||||||
writetome.write("".join(map(str,self.wip_textures.values())))
|
writetome.write("".join(map(str,saveme)))
|
||||||
writetome.close()
|
writetome.close()
|
||||||
|
|
||||||
def open_activated(self,arg):
|
def open_activated(self,arg):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue