tig-tiger / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

'Clear' button in bottom panel doesn't always work #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. search for something with Advanced Find/Replace
2. close all documents
3. click the 'Clear' button in the bottom panel

What is the expected output? What do you see instead?
- the result list should be cleared, but is not
- terminal shows an error:

Traceback (most recent call last):
  File "/home/development/.local/share/gedit/plugins/advancedfind/find_result.py", line 419, in on_clearButton_clicked_action
    self.clear_find_result()
  File "/home/development/.local/share/gedit/plugins/advancedfind/find_result.py", line 491, in clear_find_result
    doc = tab.get_document()
AttributeError: 'NoneType' object has no attribute 'get_document'

What version of the product are you using? On what operating system?
- Linux Mint 14
- gedit 3.6.1
- Advanced Find/Replace 3.5.2

Please provide any additional information below.
- the same error is thrown if the result list is empty and all documents are 
closed

Original issue reported on code.google.com by ir4o.o91...@gmail.com on 28 Jan 2013 at 3:20

GoogleCodeExporter commented 8 years ago
I will fix this.

Original comment by swatch.c...@gmail.com on 29 Jan 2013 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by swatch.c...@gmail.com on 29 Jan 2013 at 1:16

GoogleCodeExporter commented 8 years ago
Fixed at v3.5.3.

Original comment by swatch.c...@gmail.com on 31 Mar 2013 at 3:53

GoogleCodeExporter commented 8 years ago
Bugfix works.

Original comment by ir4o.o91...@gmail.com on 2 Apr 2013 at 10:49