mapeditor.cpp
changeset 842 bec082472471
parent 841 46553c106c52
child 844 c48bb42fb977
     1.1 --- a/mapeditor.cpp	Mon Mar 22 15:37:23 2010 +0000
     1.2 +++ b/mapeditor.cpp	Tue Mar 30 17:30:39 2010 +0000
     1.3 @@ -985,8 +985,10 @@
     1.4  
     1.5  void MapEditor::keyPressEvent(QKeyEvent* e)
     1.6  {
     1.7 -	//qDebug()<<"ME::keyPressed";
     1.8 -	//return;
     1.9 +	if (e->key()==Qt::Key_PageUp || e->key()==Qt::Key_PageDown)
    1.10 +		// Ignore PageUP/Down to avoid scrolling with keys
    1.11 +		return;
    1.12 +
    1.13  	if (e->modifiers() & Qt::ControlModifier)
    1.14  	{
    1.15  		switch (mainWindow->getModMode())