mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Fix NPE
This commit is contained in:
parent
169dbdccec
commit
195b5c3ab7
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ namespace Greenshot.Drawing
|
|||
/// </summary>
|
||||
private void UpdateTextBoxPosition()
|
||||
{
|
||||
if (_textBox == null)
|
||||
if (_textBox == null || Parent == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue