mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
Merge branch 'keep_settings_page' into 'master'
Keep the scripts settings page open See merge request OpenMW/openmw!1987
This commit is contained in:
commit
1650dacfca
@ -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…
x
Reference in New Issue
Block a user