Merge pull request #59 from FernandoBasso/fix-layout-launcher-error

Fix layout launcher error
This commit is contained in:
Matt Rose 2020-05-07 16:16:10 -04:00 committed by GitHub
commit 2c5b5798da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -68,6 +68,9 @@ if __name__ == '__main__':
OPTIONS = terminatorlib.optionparse.parse_options() OPTIONS = terminatorlib.optionparse.parse_options()
TERMINATOR = Terminator()
TERMINATOR.set_origcwd(ORIGCWD)
if OPTIONS.select: if OPTIONS.select:
# launch gui, return selection # launch gui, return selection
LAYOUTLAUNCHER=LayoutLauncher() LAYOUTLAUNCHER=LayoutLauncher()
@ -112,8 +115,6 @@ if __name__ == '__main__':
pass pass
MAKER = Factory() MAKER = Factory()
TERMINATOR = Terminator()
TERMINATOR.set_origcwd(ORIGCWD)
TERMINATOR.set_dbus_data(dbus_service) TERMINATOR.set_dbus_data(dbus_service)
TERMINATOR.reconfigure() TERMINATOR.reconfigure()
TERMINATOR.ibus_running = ibus_running TERMINATOR.ibus_running = ibus_running