Return after error when there's no hint to follow
This commit is contained in:
parent
a86a3427fc
commit
651eab1032
@ -510,6 +510,7 @@ class HintManager(QObject):
|
||||
"""Follow the currently selected hint."""
|
||||
if not self._to_follow:
|
||||
message.error("No hint to follow")
|
||||
return
|
||||
self.fire(self._to_follow, force=True)
|
||||
|
||||
@pyqtSlot('QSize')
|
||||
|
Loading…
Reference in New Issue
Block a user