OSDN Git Service

起動時に装備一覧のフィルタがおかしい問題を修正
authormasakih <masakih@users.sourceforge.jp>
Tue, 14 Apr 2015 14:55:22 +0000 (23:55 +0900)
committermasakih <masakih@users.sourceforge.jp>
Tue, 14 Apr 2015 14:55:22 +0000 (23:55 +0900)
close #50443

KCD/HMSlotItemWindowController.m
KCD/ja.lproj/HMSlotItemWindowController.xib

index d447a23..fc12b34 100644 (file)
@@ -31,6 +31,9 @@
                                                  forKeyPath:NSSortDescriptorsBinding
                                                         options:0
                                                         context:NULL];
+       
+       // refresh filter
+       self.showEquipmentType = self.showEquipmentType;
 }
 - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
 {
index 43b708d..73da3dd 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6254" systemVersion="13F34" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7531" systemVersion="14D131" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6254"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7531"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="HMSlotItemWindowController">
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
                                 <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="7Ud-zW-skg" id="kje-ie-wKU">
-                                    <rect key="frame" x="0.0" y="0.0" width="486" height="19"/>
+                                    <rect key="frame" x="0.0" y="0.0" width="483" height="19"/>
                                     <autoresizingMask key="autoresizingMask"/>
                                     <size key="intercellSpacing" width="3" height="2"/>
-                                    <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                                     <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
                                     <tableColumns>
                                         <tableColumn editable="NO" width="30" minWidth="10" maxWidth="3.4028234663852886e+38" id="0ze-J2-3BD">
                             <autoresizingMask key="autoresizingMask"/>
                         </tableHeaderView>
                     </scrollView>
-                    <searchField verticalHuggingPriority="750" id="ERr-T4-mcK">
+                    <searchField wantsLayer="YES" verticalHuggingPriority="750" id="ERr-T4-mcK">
                         <rect key="frame" x="20" y="451" width="263" height="22"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="15D-be-yiw">
                             <font key="font" metaFont="system"/>
                         </buttonCell>
                         <connections>
-                            <binding destination="-2" name="title" keyPath="showEquipmentTypeTitle" id="UND-c4-3Ts"/>
                             <binding destination="-2" name="value" keyPath="showEquipmentType" id="PtG-Vk-qCE"/>
+                            <binding destination="-2" name="title" keyPath="showEquipmentTypeTitle" id="UND-c4-3Ts"/>
                         </connections>
                     </button>
                 </subviews>