mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-19 11:49:16 +00:00
Merge pull request #17 from firenoo/master
Fix disappearing bind button when renaming search
This commit is contained in:
1 file changed
+1
-1
@@ -44,7 +44,7 @@ class GuiAdvancedMemoryCard(msg: S2CListP2P) : GuiScreen(), TextureBound {
|
||||
private var sortedInfo = infos.toList()
|
||||
|
||||
private var selectedInfo: InfoWrapper?
|
||||
get() = sortedInfo.find { it.index == selectedIndex }
|
||||
get() = infos.find { it.index == selectedIndex }
|
||||
set(value) {
|
||||
selectedIndex = value?.index ?: -1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user