Cant draw after closing tab

Bug #1772938 reported by Kenneth Yrke Jørgensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAPAAL
Fix Released
Medium
Kenneth Yrke Jørgensen

Bug Description

To Reproduce:

  - Open two nets
  - Move tab to first net
  - close tab using Ctrl+W (or file close)

If bug is not present, do same actions again.

Related branches

Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

Bug is related to code close action

if ((appTab.getTabCount() > 0) && checkForSave()) {
     // Set GUI mode to noNet
     setGUIMode(GUIMode.noNet);

     int index = appTab.getSelectedIndex();
     appTab.remove(index);
     CreateGui.removeTab(index);
}
need to call setObject linke in other places, need refactoring to have one function to handle closing of tabs.

Changed in tapaal:
assignee: nobody → Kenneth Yrke Jørgensen (yrke)
Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

I will fix this in the refactoring

Revision history for this message
Kenneth Yrke Jørgensen (yrke) wrote :

Implemented a fix by moving all close tab to one function doing it the right way

Changed in tapaal:
status: New → In Progress
Changed in tapaal:
status: In Progress → Fix Committed
importance: Undecided → Medium
Changed in tapaal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.