mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-170231 Do not show encoding in status bar if there are no open files
This commit is contained in:
@@ -214,7 +214,7 @@ public class EncodingPanel extends EditorBasedWidget implements StatusBarWidget.
|
||||
|
||||
if (file == null) {
|
||||
toolTipText = "";
|
||||
charsetName = "n/a";
|
||||
charsetName = "";
|
||||
}
|
||||
else {
|
||||
Pair<Charset, String> check = EncodingUtil.checkSomeActionEnabled(file);
|
||||
|
||||
Reference in New Issue
Block a user