Encoder tab moves
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
1. Open application
2. Click Tools -> Encoder/Decoder (you will see the tab disappear)
3. Press ESC and the Encoder tab is now the last tab rather than the 7th tab
What is the expected output? What do you see instead?
Would expect the Encoder tab to stay put. No tabs are manually draggable so you
can't put it back where it belongs.
What version of the product are you using? On what operating system?
2011.7.14-alpha
Fedora 15
Please provide any additional information below.
A quick fix for this is change raft.pyw, line 751 from this:
self.mainTabWidget.addTab(self.tabMainEncoder, 'Encoder')
to this:
self.mainTabWidget.addTab(self.tabMainEncoder, self.tabMainEncoder.windowTitle)
Since the tabMainEncoder object already has a title, I just grabbed it out
rather than use the constant 'Encoder'.
Original issue reported on code.google.com by kelle...@gmail.com
on 6 Aug 2011 at 9:56
I pasted the wrong code in there...
The final line should be:
self.mainTabWidget.insertTab(6, self.tabMainEncoder,
self.tabMainEncoder.windowTitle)
This keeps the Encoder tab in the correct position even after it is detached. I
don't much care for the constant index being there and might suggest it be
moved to some constants file as something like ENCODER_TAB_IDX and then
reference that variable here.
Original comment by kelle...@gmail.com
on 7 Aug 2011 at 3:20
Original comment by gfleisch...@gmail.com
on 5 Jul 2013 at 1:46
- Added labels: RAFT3
Fixed in RAFT3.
Original comment by gfleisch...@gmail.com
on 27 Jul 2013 at 8:58
- Changed state: Fixed