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
17f7fe7a
Commit
17f7fe7a
authored
Jun 21, 2014
by
Fabio Bas
Browse files
Don't lock the UI if the loaded file was not readable
parent
1edc34f0
Changes
1
Show whitespace changes
Inline
Side-by-side
oracle/src/oraclewizard.cpp
View file @
17f7fe7a
...
...
@@ -221,13 +221,13 @@ void LoadSetsPage::readSetsFromByteArray(QByteArray data)
void
LoadSetsPage
::
importFinished
()
{
if
(
watcher
.
future
().
result
())
{
wizard
()
->
enableButtons
();
setEnabled
(
true
);
progressLabel
->
hide
();
progressBar
->
hide
();
if
(
watcher
.
future
().
result
())
{
wizard
()
->
next
();
}
else
{
QMessageBox
::
critical
(
this
,
tr
(
"Error"
),
tr
(
"The file was retrieved successfully, but it does not contain any sets data."
));
...
...
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