mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
close dialog: fix wrong title
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2744 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -238,7 +238,10 @@ int ProjectView::tryClosingDiagrams() {
|
||||
return(QMessageBox::Discard);
|
||||
}
|
||||
|
||||
int close_dialog = QMessageBox::question(this, project()->title(),
|
||||
QString title = project()->title();
|
||||
if (title.isEmpty()) title = "QElectroTech";
|
||||
|
||||
int close_dialog = QMessageBox::question(this, title,
|
||||
tr("Le projet \340 \351t\351 modifi\351.\n"
|
||||
"Voulez-vous enregistrer les modifications ?"),
|
||||
QMessageBox::Save | QMessageBox::Discard
|
||||
|
||||
Reference in New Issue
Block a user