Reverse logic of "always show" for consistency

This commit is contained in:
Et0h 2014-06-18 12:15:49 +01:00
parent 1ad2973c19
commit 5edaa0440b
2 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ en = {
"dontslowwithme-label" : "Never slow down or rewind others",
"pauseonleave-label" : "Pause when user leaves",
"rewind-label" : "Rewind on major desync (highly recommended)",
"alwayshow-label" : "Always show this dialog",
"alwayshow-label" : "Do not always show this dialog",
"donotstore-label" : "Do not store this configuration",
"help-label" : "Help",
@ -184,7 +184,7 @@ en = {
"dontslowwithme-tooltip" : "Means others do not get slowed down or rewinded if your playback is lagging.",
"pauseonleave-tooltip" : "Pause playback if you get disconnected or someone leaves from your room.",
"rewind-tooltip" : "Jump back when needed to get back in sync. Recommended.",
"alwayshow-tooltip" : "Configuration dialogue is always shown, even when opening a file with Syncplay.",
"alwayshow-tooltip" : "Configuration dialogue is not shown when opening a file with Syncplay.",
"donotstore-tooltip" : "Run Syncplay with the given configuration, but do not permanently store the changes.",
"help-tooltip" : "Opens the Syncplay.pl user guide.",

View File

@ -189,7 +189,7 @@ class ConfigDialog(QtGui.QDialog):
self.config['file'] = os.path.abspath(self.mediapathTextbox.text())
else:
self.config['file'] = unicode(self.mediapathTextbox.text())
if self.alwaysshowCheckbox.isChecked() == True:
if self.alwaysshowCheckbox.isChecked() == False:
self.config['forceGuiPrompt'] = True
else:
self.config['forceGuiPrompt'] = False
@ -473,7 +473,7 @@ class ConfigDialog(QtGui.QDialog):
self.showmoreCheckbox.toggled.connect(self.moreToggled)
self.moreSettingsGroup.toggled.connect(self.moreToggled)
if config['forceGuiPrompt'] == True:
if config['forceGuiPrompt'] == False:
self.alwaysshowCheckbox.setChecked(True)
self.showmoreCheckbox.setToolTip(getMessage("en", "more-tooltip"))