Add comment about CurCommandDispatcher

This commit is contained in:
Florian Bruhin 2014-04-17 08:24:59 +02:00
parent cdf5edc115
commit 58ae1f7441

View File

@ -422,6 +422,10 @@ class CurCommandDispatcher(QObject):
Contains all commands which are related to the current tab.
We can't simply add these commands to BrowserTab directly and use
currentWidget() for TabbedBrowser.cur because at the time
cmdutils.register() decorators are run, currentWidget() will return None.
Attributes:
tabs: The TabbedBrowser object.