def _set_qdialog_basedir(self):
if not self._qdialog_basedir_set:
data = self._controller.get_model().get_data()
for map_name, file_path in data.get_file_paths().items():
if file_path:
QFileDialog().setDirectory(file_path)
self._qdialog_basedir_set = True
return
评论列表
文章目录