Fixed a bug
	modified:   mainwindow.cpp