Return after error when there's no hint to follow

This commit is contained in:
Florian Bruhin 2014-05-14 14:56:13 +02:00
parent a86a3427fc
commit 651eab1032

View File

@ -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')