Skip to content

Commit 8bdbfe3

Browse files
committed
Show entry limit in title
1 parent c9b4957 commit 8bdbfe3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

uis/src/com/biglybt/ui/swt/SimpleTextEntryWindow.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,12 @@ private void promptForInput0() {
133133

134134
display = shell.getDisplay();
135135
if (this.title != null) {
136-
shell.setText(this.title);
136+
String str = this.title;
137+
138+
if ( textLimit > 0 ){
139+
str += " (" + MessageText.getString( "label.limit") + " " + textLimit + ")";
140+
}
141+
shell.setText(str);
137142
}
138143

139144
Utils.setShellIcon(shell);

0 commit comments

Comments
 (0)