mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 07:53:53 +00:00
Keep the scripts settings page open
This commit is contained in:
parent
598312e391
commit
fa72e14d92
1 changed files with 4 additions and 1 deletions
|
@ -788,7 +788,7 @@ namespace MWGui
|
|||
void SettingsWindow::renderScriptSettings()
|
||||
{
|
||||
mScriptAdapter->detach();
|
||||
mCurrentPage = -1;
|
||||
|
||||
mScriptList->removeAllItems();
|
||||
mScriptView->setCanvasSize({0, 0});
|
||||
|
||||
|
@ -824,6 +824,9 @@ namespace MWGui
|
|||
mScriptFilter->setVisible(!disabled);
|
||||
mScriptList->setVisible(!disabled);
|
||||
mScriptBox->setVisible(!disabled);
|
||||
|
||||
LuaUi::attachPageAt(mCurrentPage, mScriptAdapter);
|
||||
mScriptView->setCanvasSize(mScriptAdapter->getSize());
|
||||
}
|
||||
|
||||
void SettingsWindow::onScriptFilterChange(MyGUI::EditBox*)
|
||||
|
|
Loading…
Reference in a new issue