Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.


Fix for getOpenFileName breakage
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <>
  • Loading branch information
falkTX committed Jun 18, 2022
1 parent 56b078f commit c810989
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ def slot_projectNew(self):

def slot_projectOpen(self):
path = QFileDialog.getOpenFileName(self,"Load State"),"Catarina XML Document (*.xml)"))
path, _ = QFileDialog.getOpenFileName(self,"Load State"),"Catarina XML Document (*.xml)"))
if path:

Expand All @@ -1039,8 +1039,7 @@ def slot_projectSave(self):

def slot_projectSaveAs(self):
path = QFileDialog.getSaveFileName(self,"Save State"),"Catarina XML Document (*.xml)"))
path = path[0]
path, _ = QFileDialog.getSaveFileName(self,"Save State"),"Catarina XML Document (*.xml)"))
if path:
self.m_save_path = path
Expand Down

0 comments on commit c810989

Please sign in to comment.