history update (time settings)
This commit is contained in:
parent
159e1f990a
commit
e173393853
7 changed files with 122 additions and 81 deletions
|
@ -173,8 +173,11 @@ class ProfileSettings(CenteredWidget):
|
|||
Profile.get_instance().set_avatar(data)
|
||||
|
||||
def export_profile(self):
|
||||
directory = QtGui.QFileDialog.getExistingDirectory()
|
||||
ProfileHelper.export_profile(directory + '/')
|
||||
# TODO: export history
|
||||
directory = QtGui.QFileDialog.getExistingDirectory() + '/'
|
||||
ProfileHelper.export_profile(directory)
|
||||
settings = Settings.get_instance()
|
||||
settings.export(directory)
|
||||
|
||||
def closeEvent(self, event):
|
||||
profile = Profile.get_instance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue