mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
UI: fixed default duration on prompt dialog
This commit is contained in:
parent
3b842a154e
commit
c444d5f8a1
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class PromptDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
|
|||
self._duration_combo.setCurrentIndex(4)
|
||||
elif self._cfg.getSettings("global/default_duration") == "1h":
|
||||
self._duration_combo.setCurrentIndex(5)
|
||||
elif self._cfg.getSettings("global/default_duration") == "until restart":
|
||||
elif self._cfg.getSettings("global/default_duration") == "for this session":
|
||||
self._duration_combo.setCurrentIndex(6)
|
||||
else:
|
||||
self._duration_combo.setCurrentIndex(7)
|
||||
|
|
Loading…
Add table
Reference in a new issue