Merge lp:~tapaal-contributor/tapaal/select-all-disable-1835873 into lp:tapaal

Proposed by Peter Haahr Taankvist
Status: Merged
Approved by: Jiri Srba
Approved revision: 1037
Merged at revision: 1040
Proposed branch: lp:~tapaal-contributor/tapaal/select-all-disable-1835873
Merge into: lp:tapaal
Diff against target: 11 lines (+1/-0)
1 file modified
src/pipe/gui/SelectionManager.java (+1/-0)
To merge this branch: bzr merge lp:~tapaal-contributor/tapaal/select-all-disable-1835873
Reviewer Review Type Date Requested Status
Jiri Srba Approve
Kenneth Yrke Jørgensen Pending
Review via email: mp+379703@code.launchpad.net

Commit message

The problem was that the drawing surface could not regain focus after changing template.

When clicking on the drawing surface it now regains focus enabling the expected ctrl+A action.

To post a comment you must log in.
Revision history for this message
Jiri Srba (srba) wrote :

Tested and works.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/pipe/gui/SelectionManager.java'
2--- src/pipe/gui/SelectionManager.java 2019-03-10 20:07:06 +0000
3+++ src/pipe/gui/SelectionManager.java 2020-02-23 21:11:40 +0000
4@@ -161,6 +161,7 @@
5 }
6
7 public void mousePressed(MouseEvent e) {
8+ CreateGui.getCurrentTab().requestFocusInWindow();
9 CreateGui.getCurrentTab().removeConstantHighlights();
10 if (e.getButton() == MouseEvent.BUTTON1 && !(e.isControlDown())) {
11 isSelecting = true;

Subscribers

People subscribed via source and target branches