summaryrefslogtreecommitdiffstats
path: root/gui/widgets/PageContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widgets/PageContainer.cpp')
-rw-r--r--gui/widgets/PageContainer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/widgets/PageContainer.cpp b/gui/widgets/PageContainer.cpp
index fd2a1e28..237e7224 100644
--- a/gui/widgets/PageContainer.cpp
+++ b/gui/widgets/PageContainer.cpp
@@ -138,6 +138,12 @@ void PageContainer::addButtons(QWidget *buttons)
m_layout->addWidget(buttons, 2, 0, 1, 2);
}
+void PageContainer::addButtons(QLayout *buttons)
+{
+ m_layout->addLayout(buttons, 2, 0, 1, 2);
+}
+
+
void PageContainer::showPage(int row)
{
if(row != -1)