Make the Importance and Status tabs look consistent with Auto-Replace

This commit is contained in:
Veronica K. B. Olsen
2021-02-27 16:49:54 +01:00
parent 4136328a36
commit bfa8f97e7e
4 changed files with 90 additions and 64 deletions
-1
View File
@@ -29,7 +29,6 @@ from nw.common import (
makeFileNameSafe, isHandle, isTitleTag, isItemClass, isItemType,
isItemLayout, numberToRoman
)
from tools import cmpList
@pytest.mark.base
def testBaseCommon_CheckString():
-12
View File
@@ -72,18 +72,6 @@ def cmpFiles(fileOne, fileTwo, ignoreLines=None):
return not diffFound
def cmpList(listOne, listTwo):
"""Compare two iterable objects.
"""
flatOne = list(chain.from_iterable([listOne]))
flatTwo = list(chain.from_iterable([listTwo]))
if len(flatOne) != len(flatTwo):
return False
for i in range(len(flatOne)):
if flatOne[i] != flatTwo[i]:
return False
return True
def getGuiItem(theName):
"""Returns a QtWidget based on its objectName.
"""