fixed double allocation of webui page

This commit is contained in:
csoler 2023-09-15 20:15:29 +02:00
parent 5251427cbf
commit b606b26dd3

View File

@ -178,8 +178,7 @@ SettingsPage::initStackedWidget()
JsonApiPage *jsonapi_p = new JsonApiPage() ; JsonApiPage *jsonapi_p = new JsonApiPage() ;
addPage(jsonapi_p); addPage(jsonapi_p);
#ifdef RS_WEBUI #ifdef RS_WEBUI
WebuiPage *webui_p = new WebuiPage() ; addPage(new WebuiPage());
addPage(new WebuiPage() );
#endif #endif
#endif #endif