mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
Add missing WaitDialog::clear() (Fixes #4196)
This commit is contained in:
parent
244cc5b861
commit
e42bd71081
@ -96,6 +96,12 @@ namespace MWGui
|
||||
return (!mTimeAdvancer.isRunning()); //Only exit if not currently waiting
|
||||
}
|
||||
|
||||
void WaitDialog::clear()
|
||||
{
|
||||
mSleeping = false;
|
||||
mTimeAdvancer.stop();
|
||||
}
|
||||
|
||||
void WaitDialog::onOpen()
|
||||
{
|
||||
if (mTimeAdvancer.isRunning())
|
||||
|
@ -33,6 +33,8 @@ namespace MWGui
|
||||
|
||||
virtual bool exit();
|
||||
|
||||
virtual void clear();
|
||||
|
||||
void onFrame(float dt);
|
||||
|
||||
bool getSleeping() { return mTimeAdvancer.isRunning() && mSleeping; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user