Fixed issue #2340: Error dialog shown when editing a commit during rebase, even if changes are staged

Signed-off-by: Sven Strickroth <email@cs-ware.de>