mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
revert and merge rev 4823.
Fix : in old projects without the conductors formula, the conductors texts aren't loaded and displayed Fix it in method void Conductor::refreshText() git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4825 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -135,7 +135,7 @@ ConductorProperties ConductorPropertiesWidget::properties() const
|
||||
bool ConductorPropertiesWidget::event(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::WindowActivate) {
|
||||
ui -> m_text_le -> setFocus();
|
||||
ui -> m_formula_le -> setFocus();
|
||||
}
|
||||
return(QWidget::event(event));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user