Fix the action popup menu selection.

This commit is contained in:
Damiano Galassi committed 2017-10-19 07:57:40 +02:00
1 parent 285c30a628
commit 579b6f67a0
2 files changed
+32 -24

No files matched your search

+6 -5
View File
@@ -252,17 +252,18 @@
<popUpButton fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="pAl-i2-yhV">
<rect key="frame" x="0.0" y="-2" width="120" height="21"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<popUpButtonCell key="cell" type="bevel" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" selectedItem="Iwa-6U-c3K" id="VtC-oc-VAC">
<popUpButtonCell key="cell" type="bevel" title="Item 1" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" imageScaling="proportionallyDown" inset="2" selectedItem="Iwa-6U-c3K" id="VtC-oc-VAC">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
<menu key="menu" id="6Oy-4J-Chg">
<items>
<menuItem title="Item 1" state="on" id="Iwa-6U-c3K"/>
<menuItem title="Item 2" id="7hk-eT-JuK"/>
<menuItem title="Item 3" id="kEW-n7-zA2"/>
<menuItem title="Item 1" id="Iwa-6U-c3K"/>
</items>
</menu>
</popUpButtonCell>
<connections>
<action selector="setActionValue:" target="-2" id="MMj-r4-umH"/>
</connections>
</popUpButton>
</subviews>
<connections>
@@ -354,7 +355,7 @@ Gw
<constraint firstItem="26" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="2" secondAttribute="leading" constant="20" symbolic="YES" id="xcH-VR-g52"/>
</constraints>
</view>
<point key="canvasLocation" x="391" y="126.5"/>
<point key="canvasLocation" x="-107" y="105.5"/>
</window>
<menu id="Nqo-5L-aDh">
<items>