We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d43fa3 commit f7b279aCopy full SHA for f7b279a
src/napari_deeplabcut/_widgets.py
@@ -85,13 +85,15 @@ def __init__(self, parent):
85
self.message.setOpenExternalLinks(True)
86
vlayout.addWidget(self.message)
87
hlayout = QHBoxLayout()
88
- self.count = QLabel(f"Tip {self._current_tip + 1}|{len(self._tips)}")
+ self.count = QLabel("")
89
hlayout.addWidget(self.count)
90
hlayout.addWidget(self.button_box)
91
vlayout.addLayout(hlayout)
92
self.setLayout(vlayout)
93
94
def accept(self):
95
+ if self._current_tip == 0 and "walkthrough" not in self.message.text():
96
+ self.reject()
97
tip = self._tips[self._current_tip]
98
self.message.setText(tip.msg)
99
self.count.setText(f"Tip {self._current_tip + 1}|{len(self._tips)}")
0 commit comments