Commit 92711312 authored by Philipp Erhardt's avatar Philipp Erhardt
Browse files

Fix flickering window when failing to open the pdf

parent b59f399d
......@@ -88,10 +88,10 @@ int main(int argc, char *argv[]) {
// else no argument given, "open" empty string
Viewer katarakt(file);;
if (!katarakt.is_valid()) {
return 1;
return app.exec();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment