mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Petite modification dans le comportement du bouton Zoom ajuste
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@182 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -189,10 +189,6 @@ void DiagramView::zoomOut() {
|
||||
le zoom est reinitialise
|
||||
*/
|
||||
void DiagramView::zoomFit() {
|
||||
if (scene -> items().isEmpty()) {
|
||||
zoomReset();
|
||||
return;
|
||||
}
|
||||
adjustSceneRect();
|
||||
fitInView(sceneRect(), Qt::KeepAspectRatio);
|
||||
adjustGridToZoom();
|
||||
|
||||
Reference in New Issue
Block a user