From 6fc7e5ace158d43acef636e1322db494e903a8c5 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sun, 23 Jan 2011 14:49:59 +0000 Subject: [PATCH] Fixed windows-specific crash in pref panel under Qt. --- qt/base/preferences_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/base/preferences_dialog.py b/qt/base/preferences_dialog.py index c00baec1..1d90a268 100644 --- a/qt/base/preferences_dialog.py +++ b/qt/base/preferences_dialog.py @@ -110,7 +110,7 @@ class PreferencesDialogBase(QDialog): self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok|QDialogButtonBox.RestoreDefaults) self.mainVLayout.addWidget(self.buttonBox) if sys.platform not in {'darwin', 'linux2'}: - self.verticalLayout.removeWidget(self.ignoreHardlinkMatches) + self.mainVLayout.removeWidget(self.ignoreHardlinkMatches) self.ignoreHardlinkMatches.setHidden(True) def _load(self, prefs, setchecked):