MSU.app: Fix for non-visible optional items forgetting their state when "Add or Remove" was clicked when the list was filtered.

git-svn-id: http://munki.googlecode.com/svn/trunk@1182 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2011-05-18 15:42:38 +00:00
parent 253187fd4c
commit 2656d7ab96
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.1.0</string>
<string>3.1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.1.0</string>
<string>3.1.1</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>
@@ -119,6 +119,8 @@ class MSUOptionalInstallsViewController(NSViewController):
@IBAction
def AddRemoveBtnClicked_(self, sender):
# process Adds and/or Removes
self.searchField.setStringValue_('')
self.setFilteredlist_(self._optionallist)
self.window_controller.theTabView.selectPreviousTabViewItem_(sender)
NSApp.delegate().addOrRemoveOptionalSoftware()