Skip to content

Commit ab89078

Browse files
Addition of putClientProperty
1 parent 9695528 commit ab89078

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gui.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def create_add_tab(self):
3535
self.add_tab.border = None
3636

3737
self.emptyTab = JPanel(BorderLayout())
38-
self.emptyTab.add(JLabel(ScriptTabbedPane.EMPTY_SCRIPT_TEXT, SwingConstants.CENTER), BorderLayout.CENTER)
38+
emptyScriptLabel = JLabel(ScriptTabbedPane.EMPTY_SCRIPT_TEXT, SwingConstants.CENTER)
39+
emptyScriptLabel.putClientProperty("html.disable", None)
40+
self.emptyTab.add(emptyScriptLabel, BorderLayout.CENTER)
3941

4042
self.addTab(None, self.emptyTab)
4143
self.setTabComponentAt(0, self.add_tab)

0 commit comments

Comments
 (0)