Fixed #4620
This commit is contained in:
@@ -77,7 +77,6 @@ public class ModsDialog extends BaseDialog{
|
||||
browser.cont.pane(tablebrow -> {
|
||||
tablebrow.margin(10f).top();
|
||||
browserTable = tablebrow;
|
||||
rebuildBrowser();
|
||||
}).get().setScrollingDisabled(true, false);
|
||||
browser.addCloseButton();
|
||||
|
||||
@@ -508,6 +507,7 @@ public class ModsDialog extends BaseDialog{
|
||||
}
|
||||
|
||||
private String trimText(String text){
|
||||
if(text == null) return "";
|
||||
if(text.contains("\n")){
|
||||
return text.substring(0, text.indexOf("\n"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user