mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Merge pull request #2827 from Capostrophic/dialogue
Only reset dialogue history of dialogue GUI mode is gone
This commit is contained in:
commit
300b5b2620
1 changed files with 2 additions and 0 deletions
|
@ -477,6 +477,8 @@ namespace MWGui
|
|||
|
||||
void DialogueWindow::onClose()
|
||||
{
|
||||
if (MWBase::Environment::get().getWindowManager()->containsMode(GM_Dialogue))
|
||||
return;
|
||||
// Reset history
|
||||
for (DialogueText* text : mHistoryContents)
|
||||
delete text;
|
||||
|
|
Loading…
Reference in a new issue