Fixed windows-specific crash in pref panel under Qt.
This commit is contained in:
parent
8175762e74
commit
6fc7e5ace1
|
@ -110,7 +110,7 @@ class PreferencesDialogBase(QDialog):
|
||||||
self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok|QDialogButtonBox.RestoreDefaults)
|
self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok|QDialogButtonBox.RestoreDefaults)
|
||||||
self.mainVLayout.addWidget(self.buttonBox)
|
self.mainVLayout.addWidget(self.buttonBox)
|
||||||
if sys.platform not in {'darwin', 'linux2'}:
|
if sys.platform not in {'darwin', 'linux2'}:
|
||||||
self.verticalLayout.removeWidget(self.ignoreHardlinkMatches)
|
self.mainVLayout.removeWidget(self.ignoreHardlinkMatches)
|
||||||
self.ignoreHardlinkMatches.setHidden(True)
|
self.ignoreHardlinkMatches.setHidden(True)
|
||||||
|
|
||||||
def _load(self, prefs, setchecked):
|
def _load(self, prefs, setchecked):
|
||||||
|
|
Loading…
Reference in New Issue