Skip to content

Commit

Permalink
🐧runtime bugfix (linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
berkaygediz committed Nov 18, 2023
1 parent a8dea01 commit 15983f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RichSpan.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class RS_Workspace(QMainWindow):
def __init__(self, parent=None):
super(RS_Workspace, self).__init__(parent)
starttime = datetime.datetime.now()
settings = QSettings("berkaygediz", "RichSpan")
self.richspan_thread = RS_Threading()
self.richspan_thread.update_signal.connect(self.RS_updateStatistics)
self.default_values = {
Expand Down Expand Up @@ -88,6 +89,10 @@ def __init__(self, parent=None):
self.is_saved = None
self.default_directory = QDir().homePath()
self.directory = self.default_directory
if settings.value("current_language") == None:
settings.setValue("current_language", "English")
settings.sync()
self.language = settings.value("current_language")
self.RS_setupDock()
self.dock_widget.hide()
self.status_bar = self.statusBar()
Expand Down

0 comments on commit 15983f4

Please sign in to comment.