[qet] [3489] Folio list moving to the second page |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3489
Author: scorpio810
Date: 2014-11-15 18:15:43 +0100 (Sat, 15 Nov 2014)
Log Message:
-----------
Folio list moving to the second page
Modified Paths:
--------------
trunk/sources/projectview.cpp
Modified: trunk/sources/projectview.cpp
===================================================================
--- trunk/sources/projectview.cpp 2014-11-14 20:44:17 UTC (rev 3488)
+++ trunk/sources/projectview.cpp 2014-11-15 17:15:43 UTC (rev 3489)
@@ -321,7 +321,7 @@
DiagramView *new_diagram_view = new DiagramView(d);
addDiagram(new_diagram_view);
showDiagram(new_diagram_view);
- tabs_->moveTab(diagrams().size()-1, i);
+ tabs_->moveTab(diagrams().size()-1, + 1);
i++;
}
}
@@ -777,7 +777,7 @@
// If project have the folios list, move it at the beginning of the project
if (project_ -> getFolioSheetsQuantity()) {
for (int i = 0; i < project_->getFolioSheetsQuantity(); i++)
- tabs_ -> moveTab(diagrams().size()-1, 0);
+ tabs_ -> moveTab(diagrams().size()-1, + 1);
}
}