From b116b5628a68ba3b6db88435023cf034504655d3 Mon Sep 17 00:00:00 2001 From: Manisha Agrawal Date: Tue, 19 Sep 2017 21:21:57 +0000 Subject: [PATCH] protection_relays_hmi_cpp : fix the screen order Force deafult screen to be screen with index 0. This will ensure screens to be displayed in expected order. Signed-off-by: Manisha Agrawal --- protection_relays_hmi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/protection_relays_hmi.cpp b/protection_relays_hmi.cpp index 8a352fd..5247bb0 100644 --- a/protection_relays_hmi.cpp +++ b/protection_relays_hmi.cpp @@ -40,6 +40,7 @@ protection_relays_hmi::protection_relays_hmi(QWidget *parent) : ui(new Ui::protection_relays_hmi) { ui->setupUi(this); + ui -> stackedWidget -> setCurrentIndex(0); } protection_relays_hmi::~protection_relays_hmi() -- 2.39.2