mirror of
https://github.com/greenshot/greenshot
synced 2025-07-30 19:50:11 -07:00
Fixed [#1469] by checking if there are grippers.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2516 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
15605cee62
commit
1057d5f23a
3 changed files with 26 additions and 12 deletions
|
@ -58,9 +58,11 @@ namespace Greenshot.Drawing {
|
|||
}
|
||||
|
||||
protected void Init() {
|
||||
for(int i=0; i<grippers.Length; i++) {
|
||||
grippers[i].Enabled = false;
|
||||
grippers[i].Visible = false;
|
||||
if (grippers != null) {
|
||||
for (int i = 0; i < grippers.Length; i++) {
|
||||
grippers[i].Enabled = false;
|
||||
grippers[i].Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue