Skip to content

Commit

Permalink
Merge pull request #148 from qiemem/master
Browse files Browse the repository at this point in the history
Fix `xw:remove` on tab exception
  • Loading branch information
nicolaspayette committed Apr 11, 2015
2 parents a95c638 + fcad560 commit 1d95e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/scala/uk/ac/surrey/xw/api/Tab.scala
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ class Tab(
}

def removeFromAppTabs(): Unit = {
tabs.remove(this)
tabs.removeMenuItem(index)
tabs.remove(this)
}

}

0 comments on commit 1d95e22

Please sign in to comment.