WWW update
[ubi] / qml / ubi / FilesPage.qml
index 5a55fa8..2791510 100644 (file)
@@ -291,11 +291,9 @@ Page {
         placeholderText: root.name
         onOpened: {
             reset();
-            Utils.setOrientation("auto");
         }
         onClosed: {
             mask.state = "idle";
-            Utils.setOrientation(root.orientation);
             var r = trim(resp);
             if(r!="") {
                 mask.state = "busy";
@@ -306,9 +304,6 @@ Page {
                 tip.show(qsTr("Invalid folder name!"))
             }
         }
-        onCanceled: {
-            Utils.setOrientation(root.orientation);
-        }
     }
 
     DialogInput {
@@ -319,10 +314,8 @@ Page {
         placeholderText: ""
         onOpened: {
             reset();
-            Utils.setOrientation("auto");
         }
         onClosed: {
-            Utils.setOrientation(root.orientation);
             var r = trim(resp);
             if(r!="") {
                 mask.state = "busy";
@@ -337,9 +330,6 @@ Page {
                 tip.show(qsTr("Invalid folder name!"))
             }
         }
-        onCanceled: {
-            Utils.setOrientation(root.orientation);
-        }
     }
 
     TaskMenu {