Skip to content

Commit

Permalink
Fixing bug with Preset editor's "Create Blueprint Entry" working with…
Browse files Browse the repository at this point in the history
… all entries instead of only selected entries.
  • Loading branch information
thommcgrath committed Dec 24, 2017
1 parent 20de1f7 commit 60ce1dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Project/Views/Library/PresetEditor.xojo_window
Original file line number Diff line number Diff line change
Expand Up @@ -1701,6 +1701,10 @@ End
For Each Map As Beacon.Map In Maps
Dim Entries() As Beacon.PresetEntry
For I As Integer = 0 To Me.ListCount - 1
If Not Me.Selected(I) Then
Continue
End If

Dim Entry As Beacon.PresetEntry = Me.RowTag(I)
If Entry.ValidForMap(Map) Then
Entries.Append(Entry)
Expand Down Expand Up @@ -1737,7 +1741,7 @@ End

For Each Entry As Xojo.Core.DictionaryEntry In NewEntries
Dim Item As Beacon.PresetEntry = Entry.Value
Item.RespectQualityModifier = False
Item.RespectQualityModifier = True
Item.RespectQuantityMultiplier = False
Self.PutEntryInRow(Item, -1, True)
Self.mPreset.Append(Item)
Expand Down

0 comments on commit 60ce1dc

Please sign in to comment.