mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
ui, stats: better position for rules panes
On the first run the left pane was taking all the space on some environments.
This commit is contained in:
parent
bdafd7fb42
commit
e23b838500
1 changed files with 2 additions and 1 deletions
|
@ -482,7 +482,8 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
|
|||
if type(rules_splitter_pos) == QtCore.QByteArray:
|
||||
self.rulesSplitter.restoreState(rules_splitter_pos)
|
||||
else:
|
||||
self.rulesSplitter.setSizes([200, self.rulesSplitter.width() - 200])
|
||||
w = self.rulesSplitter.width()
|
||||
self.rulesSplitter.setSizes([w/4, w/2])
|
||||
|
||||
header = self.eventsTable.horizontalHeader()
|
||||
header.blockSignals(True);
|
||||
|
|
Loading…
Add table
Reference in a new issue