Skip to content

Commit

Permalink
Merge branch 'release/0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
akehrerin2being committed Mar 17, 2014
2 parents 771788a + bcbd934 commit 9a9d737
Show file tree
Hide file tree
Showing 68 changed files with 5,320 additions and 2,971 deletions.
991 changes: 991 additions & 0 deletions Motome/Controllers/MainWindow.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ def __init__(self, conf):
except KeyError:
pass

if 'conf_checkbox_history' in self.conf.keys():
if int(self.conf['conf_checkbox_history']) == 0:
self.ui.conf_checkbox_history.setChecked(False)
# if 'conf_checkbox_history' in self.conf.keys():
# if int(self.conf['conf_checkbox_history']) == 0:
# self.ui.conf_checkbox_history.setChecked(False)
# else:
# self.ui.conf_checkbox_history.setChecked(True)

if 'conf_checkbox_recordonsave' in self.conf.keys():
if int(self.conf['conf_checkbox_recordonsave']) == 0:
self.ui.conf_checkbox_recordonsave.setChecked(False)
else:
self.ui.conf_checkbox_history.setChecked(True)

if 'conf_checkbox_deleteempty' in self.conf.keys():
if int(self.conf['conf_checkbox_deleteempty']) == 0:
self.ui.conf_checkbox_deleteempty.setChecked(False)
else:
self.ui.conf_checkbox_deleteempty.setChecked(True)
self.ui.conf_checkbox_recordonsave.setChecked(True)

if 'conf_checkbox_recordonexit' in self.conf.keys():
if int(self.conf['conf_checkbox_recordonexit']) == 0:
Expand Down Expand Up @@ -74,5 +74,5 @@ def load_folder_location(self):
else:
dirpath = None

savedir = QtGui.QFileDialog.getExistingDirectory (self, 'Notes Directory', dirpath)
savedir = QtGui.QFileDialog.getExistingDirectory(self, 'Notes Directory', dirpath)
self.ui.conf_notesLocation.setText(savedir)
1 change: 1 addition & 0 deletions Motome/Controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__author__ = 'Aaron Kehrer'
File renamed without changes.
3 changes: 3 additions & 0 deletions Motome/Models/External/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Modules included from external sources.
"""
Loading

0 comments on commit 9a9d737

Please sign in to comment.