mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
Add "saved" msgbox
This commit is contained in:
parent
00a5ed0b79
commit
0ba351c955
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
#include <QHeaderView>
|
#include <QHeaderView>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QItemSelection>
|
#include <QItemSelection>
|
||||||
|
#include <QMessageBox>
|
||||||
|
|
||||||
WndSets::WndSets(QWidget *parent)
|
WndSets::WndSets(QWidget *parent)
|
||||||
: QMainWindow(parent)
|
: QMainWindow(parent)
|
||||||
|
|
@ -85,6 +86,7 @@ WndSets::~WndSets()
|
||||||
void WndSets::actSave()
|
void WndSets::actSave()
|
||||||
{
|
{
|
||||||
model->save();
|
model->save();
|
||||||
|
QMessageBox::information(this, tr("Success"), tr("The sets database has been saved successfully."));
|
||||||
}
|
}
|
||||||
|
|
||||||
void WndSets::actRestore()
|
void WndSets::actRestore()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue