mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-24 08:44:13 +02:00
Compare commits
4 Commits
e371fe9845
...
5ba984be56
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ba984be56 | |||
| ab03530a14 | |||
| 1b671990ee | |||
| ce18bd1666 |
+1
-1
Submodule elements updated: 789d3fef8b...96b1b5eb60
@@ -64,8 +64,8 @@ bool ConductorNumExport::toCsv()
|
|||||||
if(!QFile::remove(filename))
|
if(!QFile::remove(filename))
|
||||||
{
|
{
|
||||||
QMessageBox::critical(m_parent_widget, QObject::tr("Erreur"),
|
QMessageBox::critical(m_parent_widget, QObject::tr("Erreur"),
|
||||||
QObject::tr("Impossible de remplacer le fichier!\n\n")+
|
QObject::tr("Impossible de remplacer le fichier!\n\n") %
|
||||||
"Destination : "+filename+"\n");
|
"Destination : " % filename % "\n");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ void AboutQETDialog::setAbout()
|
|||||||
{
|
{
|
||||||
|
|
||||||
QString str = tr("QElectroTech, une application de réalisation de schémas électriques.", "about tab, description line") +
|
QString str = tr("QElectroTech, une application de réalisation de schémas électriques.", "about tab, description line") +
|
||||||
"<br><br> 2006-"+QDate::currentDate().toString("yyyy")+
|
"<br><br>© 2006-"+QDate::currentDate().toString("yyyy")+
|
||||||
tr(" Les développeurs de QElectroTech", "about tab, developers line") +
|
tr(" Les développeurs de QElectroTech", "about tab, developers line") +
|
||||||
"<br><br>"
|
"<br><br>"
|
||||||
"<a href=\"https://qelectrotech.org/\">https://qelectrotech.org/</a>"
|
"<a href=\"https://qelectrotech.org/\">https://qelectrotech.org/</a>"
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ void DynamicElementTextItemEditor::setCurrentText(DynamicElementTextItem *text)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
ui->m_tree_view->expand(index);
|
ui->m_tree_view->expand(index);
|
||||||
ui->m_tree_view->expand(index.QModelIndex::model()->index(0,0));
|
// ui->m_tree_view->expand(index.QModelIndex::model()->index(0,0)); // commented by plc-user: leads to crash, when other textitem was selected before
|
||||||
ui->m_tree_view->setCurrentIndex(index);
|
ui->m_tree_view->setCurrentIndex(index);
|
||||||
ui->m_remove_selection->setEnabled(true);
|
ui->m_remove_selection->setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user