aboutsummaryrefslogtreecommitdiff
path: root/include/gui/Page.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-24 14:08:25 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-24 14:08:25 +0200
commitb8e6949dfb8a88c832e82f8b7e853fe0ed462da0 (patch)
tree596f3f33b44aee1feb4d28477f4270ad826434b2 /include/gui/Page.hpp
parent54c60d9a18d103011a12939c5029dd35a8e9e200 (diff)
Remove scrollable page from gsr page, fix crash when navigating back
Diffstat (limited to 'include/gui/Page.hpp')
-rw-r--r--include/gui/Page.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/Page.hpp b/include/gui/Page.hpp
index a8fa515..0d8536a 100644
--- a/include/gui/Page.hpp
+++ b/include/gui/Page.hpp
@@ -1,7 +1,7 @@
#pragma once
#include "Widget.hpp"
-#include <vector>
+#include "../SafeVector.hpp"
#include <memory>
namespace gsr {
@@ -19,6 +19,6 @@ namespace gsr {
virtual void add_widget(std::unique_ptr<Widget> widget);
protected:
- std::vector<std::unique_ptr<Widget>> widgets;
+ SafeVector<std::unique_ptr<Widget>> widgets;
};
} \ No newline at end of file