protection_relays_hmi_cpp : fix the screen order master
authorManisha Agrawal <manisha.agrawal@ti.com>
Tue, 19 Sep 2017 21:21:57 +0000 (21:21 +0000)
committerManisha Agrawal <manisha.agrawal@ti.com>
Tue, 19 Sep 2017 21:21:57 +0000 (21:21 +0000)
Force deafult screen to be screen with index 0. This will ensure
screens to be  displayed in expected order.

Signed-off-by: Manisha Agrawal <manisha.agrawal@ti.com>
protection_relays_hmi.cpp

index 8a352fd3c69aeb95cbda649967a8b8923993a03e..5247bb06c62448d8ca8f0afaba62c2006a046696 100644 (file)
@@ -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()