mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-30 08:35:52 -04: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
@ -477,6 +477,8 @@ namespace MWGui
|
|||||||
|
|
||||||
void DialogueWindow::onClose()
|
void DialogueWindow::onClose()
|
||||||
{
|
{
|
||||||
|
if (MWBase::Environment::get().getWindowManager()->containsMode(GM_Dialogue))
|
||||||
|
return;
|
||||||
// Reset history
|
// Reset history
|
||||||
for (DialogueText* text : mHistoryContents)
|
for (DialogueText* text : mHistoryContents)
|
||||||
delete text;
|
delete text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user