mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 06:20:53 +01:00
Fixed zoom fit when opening an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1583 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1117,11 +1117,11 @@ void QETElementEditor::closeEvent(QCloseEvent *qce) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Executed the first time the window editor is displayed.
|
||||
*/
|
||||
void QETElementEditor::firstActivation(QEvent *event) {
|
||||
Q_UNUSED(event)
|
||||
if (ce_view) ce_view -> zoomFit();
|
||||
QTimer::singleShot(250, ce_view, SLOT(zoomFit()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user