List of databases shows owner name instead of oid.
This commit is contained in:
parent
874ca664b8
commit
afa80a1125
4 changed files with 29 additions and 5 deletions
|
|
@ -183,6 +183,22 @@ void MainWindow::closeEvent(QCloseEvent *event)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
QString s;
|
||||
for (const auto& e : files_to_save) {
|
||||
s += e + "\n";
|
||||
}
|
||||
|
||||
QMessageBox msgBox;
|
||||
msgBox.setIcon(QMessageBox::Warning);
|
||||
msgBox.setText("The following documents need to be saved");
|
||||
msgBox.setInformativeText(s);
|
||||
msgBox.setStandardButtons(QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel);
|
||||
msgBox.setDefaultButton(QMessageBox::Cancel);
|
||||
//int ret =
|
||||
msgBox.exec();
|
||||
|
||||
|
||||
// if (!m_queryTextChanged || continueWithoutSaving()) {
|
||||
// event->accept();
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue