Fix bug where right-clicking in an "empty" part of the notes manager causes a run-time error.
On branch master, changes to be committed:
	modified:   mainwindow.py