mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
GUI: mux: improve "file was modified, really close?" question
This commit is contained in:
parent
78576c0d4a
commit
a8e5dffe7d
@ -213,9 +213,9 @@ Tool::closeTab(int index) {
|
||||
ui->merges->setCurrentIndex(index);
|
||||
|
||||
auto answer = Util::MessageBox::question(this)
|
||||
->title(QY("Close modified file"))
|
||||
.text(QY("The file \"%1\" has been modified. Do you really want to close? All changes will be lost.").arg(tab->title()))
|
||||
.buttonLabel(QMessageBox::Yes, QY("&Close file"))
|
||||
->title(QY("Close modified settings"))
|
||||
.text(QY("The multiplex settings creating \"%1\" have been modified. Do you really want to close? All changes will be lost.").arg(tab->title()))
|
||||
.buttonLabel(QMessageBox::Yes, QY("&Close settings"))
|
||||
.buttonLabel(QMessageBox::No, QY("Cancel"))
|
||||
.exec();
|
||||
if (answer != QMessageBox::Yes)
|
||||
|
Loading…
Reference in New Issue
Block a user