Fix recovery dialog

This commit is contained in:
Marianne Gagnon 2014-04-06 20:57:28 -04:00
parent 3c3b076458
commit 61ad56f088
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,6 @@ RecoveryDialog::RecoveryDialog() : ModalDialog(0.8f,0.8f)
m_self_destroy = false;
m_show_recovery_input = true;
m_show_recovery_info = false;
doInit();
showRecoveryInput();
} // RecoveryDialog
@ -58,7 +57,8 @@ RecoveryDialog::~RecoveryDialog()
void RecoveryDialog::showRecoveryInput()
{
m_show_recovery_input = false;
clearWindow();
if (m_irrlicht_window)
clearWindow();
m_phase = Input;
loadFromFile("online/recovery_input.stkgui");

View File

@ -38,7 +38,7 @@ public:
Info = 2,
};
RecoveryDialog();
~RecoveryDialog();
virtual ~RecoveryDialog();
void onEnterPressedInternal();
GUIEngine::EventPropagation processEvent(const std::string& eventSource);