From 4bc92d38f3ee159af77b0726bfacca513f9723d9 Mon Sep 17 00:00:00 2001 From: Josh Grebler Date: Wed, 4 Apr 2018 22:44:05 -0400 Subject: [PATCH] New file extension for saves --- open_new.py | 2 +- tabs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/open_new.py b/open_new.py index 5be3b09..d35dc07 100644 --- a/open_new.py +++ b/open_new.py @@ -48,7 +48,7 @@ def initUI(self): def openDialog(self): options = QFileDialog.Options() - filename, _ = QFileDialog.getOpenFileName(None,"QFileDialog.getOpenFileName()", "","Caves and Cheese Files (*.cnc)", options=options) + filename, _ = QFileDialog.getOpenFileName(None,"Open Character", "","Caves and Cheese Files (*.cheese)", options=options) if filename: try: self.start.emit(pickle.load(open(filename, "rb" ))) diff --git a/tabs.py b/tabs.py index 28c4a4c..cd8688d 100644 --- a/tabs.py +++ b/tabs.py @@ -64,6 +64,6 @@ def initUI(self): def saveDialog(self): options = QFileDialog.Options() - filename, _ = QFileDialog.getSaveFileName(self,"Save Character","","Caves and Cheese Files (*.cnc)", options=options) + filename, _ = QFileDialog.getSaveFileName(self,"Save Character","","Caves and Cheese Files (*.cheese)", options=options) if filename: self.player.export(filename) \ No newline at end of file