Fixed #578
Merge branch 'fix578' of git://github.com/dvvrd/qreal

Conflicts:
	qrgui/mainwindow/paletteTree.cpp