diff options
Diffstat (limited to 'src/Commands.vala')
-rw-r--r-- | src/Commands.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Commands.vala b/src/Commands.vala index 76aecb4..25bdbc2 100644 --- a/src/Commands.vala +++ b/src/Commands.vala @@ -321,7 +321,7 @@ public abstract class MultipleDataSourceCommand : PageCommand { private void on_source_destroyed(DataSource source) { // as with SingleDataSourceCommand, too risky to selectively remove commands from the stack, // although this could be reconsidered in the future - if (source_list.contains(source)) + if (source_list.contains(source) && get_command_manager() != null) get_command_manager().reset(); } |