Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
2e051c3f
Commit
2e051c3f
authored
Aug 07, 2014
by
Fabio Bas
Browse files
add success notification to oracle
parent
ef1fbc0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
oracle/src/oraclewizard.cpp
View file @
2e051c3f
...
@@ -418,9 +418,12 @@ bool SaveSetsPage::validatePage()
...
@@ -418,9 +418,12 @@ bool SaveSetsPage::validatePage()
return
false
;
return
false
;
}
}
if
(
wizard
()
->
importer
->
saveToFile
(
fileName
))
if
(
wizard
()
->
importer
->
saveToFile
(
fileName
))
{
ok
=
true
;
ok
=
true
;
else
QMessageBox
::
information
(
this
,
tr
(
"Success"
),
tr
(
"The card database has been saved successfully."
));
}
else
{
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"The file could not be saved to the desired location."
));
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"The file could not be saved to the desired location."
));
}
}
while
(
!
ok
);
}
while
(
!
ok
);
return
true
;
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment