Show application if --new-tab given

Fixes: LP #1367680

Reviewed-by: Bryce Harrington <bryce@bryceharrington.org>
This commit is contained in:
bryce 2015-06-01 20:04:11 -07:00
parent 7cd84d75a4
commit 3d67bd3226
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ class Window(Container, gtk.Window):
if not self.is_child_notebook(): if not self.is_child_notebook():
dbg('Making a new Notebook') dbg('Making a new Notebook')
notebook = maker.make('Notebook', window=self) notebook = maker.make('Notebook', window=self)
self.show()
return self.get_child().newtab(debugtab, cwd=cwd, profile=profile) return self.get_child().newtab(debugtab, cwd=cwd, profile=profile)
def on_delete_event(self, window, event, data=None): def on_delete_event(self, window, event, data=None):