[AudioSystem] ACE bug fix: Ctrl-S doesn't work correctly when a level is loaded. (#6411)
Signed-off-by: Maxim Ivanov <imginimg@gmail.com>
This commit is contained in:
@@ -121,27 +121,6 @@ namespace AudioControls
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
void CAudioControlsEditorWindow::keyPressEvent(QKeyEvent* pEvent)
|
||||
{
|
||||
if (pEvent->key() == Qt::Key_S && pEvent->modifiers() == Qt::ControlModifier)
|
||||
{
|
||||
Save();
|
||||
}
|
||||
else if (pEvent->key() == Qt::Key_Z && (pEvent->modifiers() & Qt::ControlModifier))
|
||||
{
|
||||
if (pEvent->modifiers() & Qt::ShiftModifier)
|
||||
{
|
||||
GetIEditor()->Redo();
|
||||
}
|
||||
else
|
||||
{
|
||||
GetIEditor()->Undo();
|
||||
}
|
||||
}
|
||||
QMainWindow::keyPressEvent(pEvent);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------//
|
||||
void CAudioControlsEditorWindow::closeEvent(QCloseEvent* pEvent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user