Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1955 → Rev 1956

/trunk/Scribus/scribus/customfdialog.h
18,6 → 18,10
#ifndef CUSTOMFDIALOG_H
#define CUSTOMFDIALOG_H
 
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
 
#include <qfiledialog.h>
#include <qurl.h>
#include <qlabel.h>
/trunk/Scribus/scribus/story.cpp
1762,6 → 1762,14
qApp->exit_loop();
}
 
void StoryEditor::keyPressEvent (QKeyEvent * e)
{
if (e->key() == Qt::Key_Escape)
this->close();
else
return QMainWindow::keyReleaseEvent(e);
}
 
void StoryEditor::setBackPref()
{
QColor neu = QColor();
2599,11 → 2607,3
delete ss;
}
}
 
void StoryEditor::keyPressEvent (QKeyEvent * e)
{
if (e->key() == Qt::Key_Escape)
this->close();
else
return QMainWindow::keyReleaseEvent(e);
}