fix python interpreter

This commit is contained in:
2025-05-21 09:03:44 +02:00
parent bcc5c785ba
commit 9fea8f45ad
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
import os
import platform
import sys
@@ -502,7 +502,7 @@ class General(ConfigWidget):
def __init__(self, config):
super().__init__()
self.widgets['background_opacity'] = QtWidgets.QDoubleSpinBox()
self.widgets['background_opacity'].setValue(config.get('background_opacity'))
self.widgets['background_opacity'].setValue(config.get('background_opacity') or 0)
self.widgets['cursor_style'] = QtWidgets.QComboBox()
for option in self.cursor_style_options:
self.widgets['cursor_style'].addItem(option)