Kaydet (Commit) c1617b8d authored tarafından Michael Stahl's avatar Michael Stahl

wizards: text.TextDocument.getPageCount called as class method only

Change-Id: I9888f8ab7bccdd2902d619487279999f2ff9ab13
üst 71dbc4ac
......@@ -211,6 +211,7 @@ class TextDocument(object):
@return the page count of the document.
'''
@classmethod
def getPageCount(self, model):
xController = model.getCurrentController()
xPC = xController.getViewCursor()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment