-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from The-Compiler/model-check-fix
Reintroduce and fix index model check.
- Loading branch information
Showing
1 changed file
with
1 addition
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -433,9 +433,7 @@ def checkChildren(self, parent, depth = 0): | |
assert( a == b ) | ||
|
||
# Some basic checking on the index that is returned | ||
# assert( index.model() == self.model ) | ||
# This raises an error that is not part of the qbzr code. | ||
# see https://www.opensubscriber.com/message/[email protected]/10335500.html | ||
assert( index.model() == self._model ) | ||
assert( index.row() == r ) | ||
assert( index.column() == c ) | ||
# While you can technically return a QtCore.QVariant usually this is a sign | ||
|