Rev 567 | Rev 569 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 567 | Rev 568 | ||
---|---|---|---|
Line 155... | Line 155... | ||
155 | {
|
155 | {
|
156 | // no changes occur, when the "environment" is not loaded
|
156 | // no changes occur, when the "environment" is not loaded
|
157 | if (!isSetup()) |
157 | if (!isSetup()) |
158 | return; |
158 | return; |
159 | QString key;
|
159 | QString key;
|
160 | int ix, iy, id; |
- | |
- | 160 | int ix=-1, iy=-1, id=-1; |
|
161 | if (mGridMode) { |
161 | if (mGridMode) { |
162 | // grid mode
|
162 | // grid mode
|
163 | id = mGrid->value(position); |
163 | id = mGrid->value(position); |
164 | key = QString::number(id); |
164 | key = QString::number(id); |
165 | if (id==-1) |
165 | if (id==-1) |