Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1365 → Rev 1366

/branches/Version13x/Scribus/scribus/undogui.cpp
302,6 → 302,13
undoPrefs->set("up_height", height);
}
 
void UndoPalette::keyPressEvent(QKeyEvent* e)
{
if (e->key() == Key_Escape)
hide();
QWidget::keyPressEvent(e);
}
 
void UndoPalette::insertUndoItem(UndoObject* target, UndoState* state)
{
removeRedoItems();
/branches/Version13x/Scribus/scribus/undogui.h
314,6 → 314,9
/** @brief Stores the geometry of the window when hiding. */
void hideEvent(QHideEvent*);
 
/** @brief Hide the window when ESC is pressed */
void keyPressEvent(QKeyEvent* e);
 
public:
/**
* @brief Creates a new UndoPalette instance.