Only show crash dialog if session isn't empty
Fixes: https://bugs.launchpad.net/midori/+bug/830645
This commit is contained in:
parent
0c69e6ff64
commit
7dee11c0b7
1 changed files with 3 additions and 1 deletions
|
@ -2558,7 +2558,9 @@ main (int argc,
|
|||
else
|
||||
g_file_set_contents (config_file, "RUNNING", -1, NULL);
|
||||
|
||||
if (back_from_crash && katze_object_get_boolean (settings, "show-crash-dialog"))
|
||||
if (back_from_crash
|
||||
&& katze_object_get_boolean (settings, "show-crash-dialog")
|
||||
&& !katze_array_is_empty (_session))
|
||||
diagnostic_dialog = TRUE;
|
||||
|
||||
if (diagnostic_dialog)
|
||||
|
|
Loading…
Reference in a new issue