When creating a new tab, actually put it into the database, so it's available to 'Send to' and preserved between runs.
[#292 state:resolved]
| 582 | 606 | |
|---|---|---|
| 11 | 11 | import com.jbidwatcher.util.config.ErrorManagement; |
| 12 | 12 | import com.jbidwatcher.auction.AuctionEntry; |
| 13 | 13 | import com.jbidwatcher.auction.Auctions; |
| 14 | import com.jbidwatcher.auction.Category; | |
| 14 | 15 | |
| 15 | 16 | import java.util.*; |
| 16 | 17 | import java.awt.Color; |
| --- | --- | |
| 72 | 73 | } |
| 73 | 74 | AuctionListHolder newList = new AuctionListHolder(newTab, mainBackground); |
| 74 | 75 | mList.add(newList); |
| 76 | Category.findOrCreateByName(newTab); | |
| 75 | 77 | return newList; |
| 76 | 78 | } |
| 77 | 79 | |
