changeset 361:f55ddf7fdad5

* Editor command line map arg support patch by or1andov / superfluid * Map args handling might need to be refactored once more args will be added but it's fine with one possible arg for now
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Wed, 07 Oct 2009 19:02:14 +0000
parents 11896fe26c1d
children 6da97ffede18
files clients/editor/scripts/editor.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/clients/editor/scripts/editor.py	Fri Oct 02 14:05:08 2009 +0000
+++ b/clients/editor/scripts/editor.py	Wed Oct 07 19:02:14 2009 +0000
@@ -384,6 +384,7 @@
 		if self._inited == False:
 			self._initGui()
 			self._initTools()
+			if self._params: self.openFile(self._params)
 			self._inited = True
 		
 		events.onPump.send(sender=self)
@@ -432,4 +433,4 @@
 			
 		
 
-		
\ No newline at end of file
+