mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-22 23:26:58 +00:00
TERuleQueryTab: the parent is not the tab
The parent is a top-level widget (from the tab's perspective) which has no parent.
This commit is contained in:
parent
124cdd32df
commit
25168b11ff
@ -30,12 +30,11 @@ from .models import PermListModel, SEToolsListModel
|
||||
|
||||
|
||||
class TERuleQueryTab(SEToolsWidget, QScrollArea):
|
||||
def __init__(self, tab, policy):
|
||||
super(TERuleQueryTab, self).__init__(tab)
|
||||
def __init__(self, parent, policy):
|
||||
super(TERuleQueryTab, self).__init__(parent)
|
||||
self.log = logging.getLogger(self.__class__.__name__)
|
||||
self.policy = policy
|
||||
self.query = TERuleQuery(policy)
|
||||
self.tab = tab
|
||||
self.setupUi()
|
||||
|
||||
def setupUi(self):
|
||||
|
Loading…
Reference in New Issue
Block a user