Enable P&R command line options in graphic mode
This commit is contained in:
parent
26184c5016
commit
2ea099afec
|
@ -194,14 +194,6 @@ if __name__ == '__main__':
|
|||
if options.script:
|
||||
runScript(options.script,unicorn)
|
||||
|
||||
setCgtBanner(unicorn.getBanner())
|
||||
#print( unicorn.getBanner() )
|
||||
#print( credits() )
|
||||
|
||||
if cell: unicorn.setCell(cell)
|
||||
unicorn.show()
|
||||
ha.qtExec()
|
||||
else:
|
||||
# Run in command line mode.
|
||||
if options.script: runScript(options.script,None)
|
||||
|
||||
|
@ -238,6 +230,13 @@ if __name__ == '__main__':
|
|||
views |= CRL.Catalog.State.Logical
|
||||
af.saveCell(cell, views)
|
||||
|
||||
if not options.textMode:
|
||||
setCgtBanner(unicorn.getBanner())
|
||||
|
||||
if cell: unicorn.setCell(cell)
|
||||
unicorn.show()
|
||||
ha.qtExec()
|
||||
else:
|
||||
sys.exit(not kiteSuccess)
|
||||
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in New Issue