mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Renamed getdefaultsavepath
This commit is contained in:
parent
7985a961c4
commit
ff3bca19ac
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ class CuraApplication(QtApplication):
|
||||||
self._recent_files.append(QUrl.fromLocalFile(f))
|
self._recent_files.append(QUrl.fromLocalFile(f))
|
||||||
|
|
||||||
@pyqtSlot(result = QUrl)
|
@pyqtSlot(result = QUrl)
|
||||||
def getDefaultSavePath(self):
|
def getDefaultPath(self):
|
||||||
return QUrl.fromLocalFile(os.path.expanduser("~/"))
|
return QUrl.fromLocalFile(os.path.expanduser("~/"))
|
||||||
|
|
||||||
## Handle loading of all plugin types (and the backend explicitly)
|
## Handle loading of all plugin types (and the backend explicitly)
|
||||||
|
|
|
@ -667,7 +667,7 @@ UM.MainWindow
|
||||||
//TODO: Support multiple file selection, workaround bug in KDE file dialog
|
//TODO: Support multiple file selection, workaround bug in KDE file dialog
|
||||||
//selectMultiple: true
|
//selectMultiple: true
|
||||||
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
nameFilters: UM.MeshFileHandler.supportedReadFileTypes;
|
||||||
folder: Printer.getDefaultSavePath()
|
folder: Printer.getDefaultPath()
|
||||||
onAccepted:
|
onAccepted:
|
||||||
{
|
{
|
||||||
//Because several implementations of the file dialog only update the folder
|
//Because several implementations of the file dialog only update the folder
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue