mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Folio list moving to the second page
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3489 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -321,7 +321,7 @@ void ProjectView::addNewDiagramFolioList() {
|
|||||||
DiagramView *new_diagram_view = new DiagramView(d);
|
DiagramView *new_diagram_view = new DiagramView(d);
|
||||||
addDiagram(new_diagram_view);
|
addDiagram(new_diagram_view);
|
||||||
showDiagram(new_diagram_view);
|
showDiagram(new_diagram_view);
|
||||||
tabs_->moveTab(diagrams().size()-1, i);
|
tabs_->moveTab(diagrams().size()-1, + 1);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -777,7 +777,7 @@ void ProjectView::loadDiagrams() {
|
|||||||
// If project have the folios list, move it at the beginning of the project
|
// If project have the folios list, move it at the beginning of the project
|
||||||
if (project_ -> getFolioSheetsQuantity()) {
|
if (project_ -> getFolioSheetsQuantity()) {
|
||||||
for (int i = 0; i < project_->getFolioSheetsQuantity(); i++)
|
for (int i = 0; i < project_->getFolioSheetsQuantity(); i++)
|
||||||
tabs_ -> moveTab(diagrams().size()-1, 0);
|
tabs_ -> moveTab(diagrams().size()-1, + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user