use folder of the original file in "copy to file" action
This commit is contained in:
@@ -487,7 +487,7 @@ class InnerBigText(QWidget):
|
||||
(selected_file, _filter) = dialog.getSaveFileName(
|
||||
parent=self,
|
||||
caption=_("Save File"),
|
||||
dir=os.path.dirname(self.model.get_file())
|
||||
dir=os.path.dirname(self.model.get_original_file())
|
||||
)
|
||||
if selected_file:
|
||||
self.model.write_range(start, end, selected_file)
|
||||
|
||||
Reference in New Issue
Block a user