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

View File

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