Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to setup GUI, iff noGui is False #117

Merged
merged 1 commit into from
Oct 19, 2016
Merged

Conversation

Hummer12007
Copy link
Contributor

This prevents the import error message from being displayed when GUI is
disabled on systems without PySide

Additionally, remove some redundant conditionals

@Et0h
Copy link
Contributor

Et0h commented Oct 16, 2016

Will need to test this before it is merged, but thanks for your contribution. It is definitely desirable to allow those without PySide to use the command line interface version of Syncplay.

@Et0h
Copy link
Contributor

Et0h commented Oct 19, 2016

Only quickly tried to test, but I couldn't get it to work. It seems that when you run it and then have GuiConfig load by default and then run Syncplay from GuiConfig it adds an additional :8996 to the end of the host/ports which causes Syncplay to fail to connect.

Not sure, but I think it is related to the fact that the new code causes _validateArguments to be called twice BEFORE the GuiConfig dialogue is closed and not at all afterwards.

Have you tested it with forceGuiPrompt being true in your config file and PySide installed?

This prevents the error message from being displayed when GUI is
disabled on systems without PySide

Additionally, remove some redundant conditionals
@Et0h Et0h merged commit 4d428ae into Syncplay:master Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants