Skip to content

Commit c944b4d

Browse files
chore(KodeTab): fix hover highlight
1 parent 849ab5a commit c944b4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libs/pyTermTk/TermTk/TTkWidgets/kodetab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _processDrop(widget, label, orientation, offset):
138138
index = splitter.indexOf(self)
139139
if splitter.orientation() != orientation:
140140
splitter.replaceWidget(index, splitter := TTkSplitter(orientation=orientation, style=self.parentWidget().classStyle))
141-
splitter.mergeStyle(_splitter_NERD_1_style)
141+
splitter.setStyle(_splitter_NERD_1_style)
142142
splitter.addWidget(self)
143143
index=offset
144144
splitter.insertWidget(index+offset, kt:=_TTkKodeTab(baseWidget=self._baseWidget, border=self.border(), barType=self._barType, closable=self.tabsClosable()))
@@ -245,7 +245,7 @@ def __init__(self,
245245

246246
super().__init__(**kwargs|{'layout':TTkGridLayout()})
247247

248-
self.mergeStyle(_splitter_NERD_1_style)
248+
self.setStyle(_splitter_NERD_1_style)
249249
kwargs.pop('parent',None)
250250
kwargs.pop('visible',None)
251251
# self.layout().addWidget(splitter := TTkSplitter())

0 commit comments

Comments
 (0)